DataPolicyManifestInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. resources. fluent. models. DataPolicyManifestInner
- com.
- com.
public final class DataPolicyManifestInner
extends ProxyResource
The data policy manifest.
Constructor Summary
Constructor | Description |
---|---|
DataPolicyManifestInner() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Data |
custom()
Get the custom property: An array of data manifest custom resource definition. |
List<Data |
effects()
Get the effects property: The effect definition. |
List<String> |
fieldValues()
Get the field |
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Boolean |
isBuiltInOnly()
Get the is |
String |
name()
Get the name property: The name of the resource. |
List<String> |
namespaces()
Get the namespaces property: The list of namespaces for the data policy manifest. |
String |
policyMode()
Get the policy |
List<Resource |
resourceTypeAliases()
Get the resource |
List<String> |
standard()
Get the standard property: The standard resource functions (subscription and/or resource |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Data |
withCustom(List<DataManifestCustomResourceFunctionDefinition> custom)
Set the custom property: An array of data manifest custom resource definition. |
Data |
withEffects(List<DataEffect> effects)
Set the effects property: The effect definition. |
Data |
withFieldValues(List<String> fieldValues)
Set the field |
Data |
withIsBuiltInOnly(Boolean isBuiltInOnly)
Set the is |
Data |
withNamespaces(List<String> namespaces)
Set the namespaces property: The list of namespaces for the data policy manifest. |
Data |
withPolicyMode(String policyMode)
Set the policy |
Data |
withResourceTypeAliases(List<ResourceTypeAliases> resourceTypeAliases)
Set the resource |
Data |
withStandard(List<String> standard)
Set the standard property: The standard resource functions (subscription and/or resource |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
DataPolicyManifestInner
public DataPolicyManifestInner()
Creates an instance of DataPolicyManifestInner class.
Method Details
custom
public List
Get the custom property: An array of data manifest custom resource definition.
Returns:
effects
public List
Get the effects property: The effect definition.
Returns:
fieldValues
public List
Get the fieldValues property: The non-alias field accessor values that can be used in the policy rule.
Returns:
fromJson
public static DataPolicyManifestInner fromJson(JsonReader jsonReader)
Reads an instance of DataPolicyManifestInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DataPolicyManifestInner.id()Returns:
isBuiltInOnly
public Boolean isBuiltInOnly()
Get the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DataPolicyManifestInner.name()Returns:
namespaces
public List
Get the namespaces property: The list of namespaces for the data policy manifest.
Returns:
policyMode
public String policyMode()
Get the policyMode property: The policy mode of the data policy manifest.
Returns:
resourceTypeAliases
public List
Get the resourceTypeAliases property: An array of resource type aliases.
Returns:
standard
public List
Get the standard property: The standard resource functions (subscription and/or resourceGroup).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataPolicyManifestInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DataPolicyManifestInner.type()Returns:
validate
public void validate()
Validates the instance.
withCustom
public DataPolicyManifestInner withCustom(List
Set the custom property: An array of data manifest custom resource definition.
Parameters:
Returns:
withEffects
public DataPolicyManifestInner withEffects(List
Set the effects property: The effect definition.
Parameters:
Returns:
withFieldValues
public DataPolicyManifestInner withFieldValues(List
Set the fieldValues property: The non-alias field accessor values that can be used in the policy rule.
Parameters:
Returns:
withIsBuiltInOnly
public DataPolicyManifestInner withIsBuiltInOnly(Boolean isBuiltInOnly)
Set the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.
Parameters:
Returns:
withNamespaces
public DataPolicyManifestInner withNamespaces(List
Set the namespaces property: The list of namespaces for the data policy manifest.
Parameters:
Returns:
withPolicyMode
public DataPolicyManifestInner withPolicyMode(String policyMode)
Set the policyMode property: The policy mode of the data policy manifest.
Parameters:
Returns:
withResourceTypeAliases
public DataPolicyManifestInner withResourceTypeAliases(List
Set the resourceTypeAliases property: An array of resource type aliases.
Parameters:
Returns:
withStandard
public DataPolicyManifestInner withStandard(List
Set the standard property: The standard resource functions (subscription and/or resourceGroup).
Parameters:
Returns:
Applies to
Azure SDK for Java