Class DataPolicyManifestInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.resources.fluent.models.DataPolicyManifestInner
public final class DataPolicyManifestInner
extends com.azure.core.management.ProxyResource
The data policy manifest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustom()Get the custom property: An array of data manifest custom resource definition.effects()Get the effects property: The effect definition.Get the fieldValues property: The non-alias field accessor values that can be used in the policy rule.Get the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.Get the namespaces property: The list of namespaces for the data policy manifest.Get the policyMode property: The policy mode of the data policy manifest.Get the resourceTypeAliases property: An array of resource type aliases.standard()Get the standard property: The standard resource functions (subscription and/or resourceGroup).voidvalidate()Validates the instance.Set the custom property: An array of data manifest custom resource definition.withEffects(List<DataEffect> effects) Set the effects property: The effect definition.withFieldValues(List<String> fieldValues) Set the fieldValues property: The non-alias field accessor values that can be used in the policy rule.withIsBuiltInOnly(Boolean isBuiltInOnly) Set the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.withNamespaces(List<String> namespaces) Set the namespaces property: The list of namespaces for the data policy manifest.withPolicyMode(String policyMode) Set the policyMode property: The policy mode of the data policy manifest.withResourceTypeAliases(List<ResourceTypeAliases> resourceTypeAliases) Set the resourceTypeAliases property: An array of resource type aliases.withStandard(List<String> standard) Set the standard property: The standard resource functions (subscription and/or resourceGroup).Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DataPolicyManifestInner
public DataPolicyManifestInner()
-
-
Method Details
-
namespaces
Get the namespaces property: The list of namespaces for the data policy manifest.- Returns:
- the namespaces value.
-
withNamespaces
Set the namespaces property: The list of namespaces for the data policy manifest.- Parameters:
namespaces- the namespaces value to set.- Returns:
- the DataPolicyManifestInner object itself.
-
policyMode
Get the policyMode property: The policy mode of the data policy manifest.- Returns:
- the policyMode value.
-
withPolicyMode
Set the policyMode property: The policy mode of the data policy manifest.- Parameters:
policyMode- the policyMode value to set.- Returns:
- the DataPolicyManifestInner object itself.
-
isBuiltInOnly
Get the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.- Returns:
- the isBuiltInOnly value.
-
withIsBuiltInOnly
Set the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.- Parameters:
isBuiltInOnly- the isBuiltInOnly value to set.- Returns:
- the DataPolicyManifestInner object itself.
-
resourceTypeAliases
Get the resourceTypeAliases property: An array of resource type aliases.- Returns:
- the resourceTypeAliases value.
-
withResourceTypeAliases
public DataPolicyManifestInner withResourceTypeAliases(List<ResourceTypeAliases> resourceTypeAliases) Set the resourceTypeAliases property: An array of resource type aliases.- Parameters:
resourceTypeAliases- the resourceTypeAliases value to set.- Returns:
- the DataPolicyManifestInner object itself.
-
effects
Get the effects property: The effect definition.- Returns:
- the effects value.
-
withEffects
Set the effects property: The effect definition.- Parameters:
effects- the effects value to set.- Returns:
- the DataPolicyManifestInner object itself.
-
fieldValues
Get the fieldValues property: The non-alias field accessor values that can be used in the policy rule.- Returns:
- the fieldValues value.
-
withFieldValues
Set the fieldValues property: The non-alias field accessor values that can be used in the policy rule.- Parameters:
fieldValues- the fieldValues value to set.- Returns:
- the DataPolicyManifestInner object itself.
-
standard
Get the standard property: The standard resource functions (subscription and/or resourceGroup).- Returns:
- the standard value.
-
withStandard
Set the standard property: The standard resource functions (subscription and/or resourceGroup).- Parameters:
standard- the standard value to set.- Returns:
- the DataPolicyManifestInner object itself.
-
custom
Get the custom property: An array of data manifest custom resource definition.- Returns:
- the custom value.
-
withCustom
public DataPolicyManifestInner withCustom(List<DataManifestCustomResourceFunctionDefinition> custom) Set the custom property: An array of data manifest custom resource definition.- Parameters:
custom- the custom value to set.- Returns:
- the DataPolicyManifestInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-