Class DataPolicyManifestProperties
- java.lang.Object
-
- com.azure.resourcemanager.resources.fluent.models.DataPolicyManifestProperties
-
public final class DataPolicyManifestProperties extends Object
The properties of the data policy manifest.
-
-
Constructor Summary
Constructors Constructor Description DataPolicyManifestProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataManifestCustomResourceFunctionDefinition>custom()Get the custom property: An array of data manifest custom resource definition.List<DataEffect>effects()Get the effects property: The effect definition.List<String>fieldValues()Get the fieldValues property: The non-alias field accessor values that can be used in the policy rule.BooleanisBuiltInOnly()Get the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.List<String>namespaces()Get the namespaces property: The list of namespaces for the data policy manifest.StringpolicyMode()Get the policyMode property: The policy mode of the data policy manifest.List<ResourceTypeAliases>resourceTypeAliases()Get the resourceTypeAliases property: An array of resource type aliases.List<String>standard()Get the standard property: The standard resource functions (subscription and/or resourceGroup).voidvalidate()Validates the instance.DataPolicyManifestPropertieswithCustom(List<DataManifestCustomResourceFunctionDefinition> custom)Set the custom property: An array of data manifest custom resource definition.DataPolicyManifestPropertieswithEffects(List<DataEffect> effects)Set the effects property: The effect definition.DataPolicyManifestPropertieswithFieldValues(List<String> fieldValues)Set the fieldValues property: The non-alias field accessor values that can be used in the policy rule.DataPolicyManifestPropertieswithIsBuiltInOnly(Boolean isBuiltInOnly)Set the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.DataPolicyManifestPropertieswithNamespaces(List<String> namespaces)Set the namespaces property: The list of namespaces for the data policy manifest.DataPolicyManifestPropertieswithPolicyMode(String policyMode)Set the policyMode property: The policy mode of the data policy manifest.DataPolicyManifestPropertieswithResourceTypeAliases(List<ResourceTypeAliases> resourceTypeAliases)Set the resourceTypeAliases property: An array of resource type aliases.DataPolicyManifestPropertieswithStandard(List<String> standard)Set the standard property: The standard resource functions (subscription and/or resourceGroup).
-
-
-
Method Detail
-
namespaces
public List<String> namespaces()
Get the namespaces property: The list of namespaces for the data policy manifest.- Returns:
- the namespaces value.
-
withNamespaces
public DataPolicyManifestProperties withNamespaces(List<String> namespaces)
Set the namespaces property: The list of namespaces for the data policy manifest.- Parameters:
namespaces- the namespaces value to set.- Returns:
- the DataPolicyManifestProperties object itself.
-
policyMode
public String policyMode()
Get the policyMode property: The policy mode of the data policy manifest.- Returns:
- the policyMode value.
-
withPolicyMode
public DataPolicyManifestProperties withPolicyMode(String policyMode)
Set the policyMode property: The policy mode of the data policy manifest.- Parameters:
policyMode- the policyMode value to set.- Returns:
- the DataPolicyManifestProperties object itself.
-
isBuiltInOnly
public Boolean isBuiltInOnly()
Get the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.- Returns:
- the isBuiltInOnly value.
-
withIsBuiltInOnly
public DataPolicyManifestProperties withIsBuiltInOnly(Boolean isBuiltInOnly)
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 DataPolicyManifestProperties object itself.
-
resourceTypeAliases
public List<ResourceTypeAliases> resourceTypeAliases()
Get the resourceTypeAliases property: An array of resource type aliases.- Returns:
- the resourceTypeAliases value.
-
withResourceTypeAliases
public DataPolicyManifestProperties withResourceTypeAliases(List<ResourceTypeAliases> resourceTypeAliases)
Set the resourceTypeAliases property: An array of resource type aliases.- Parameters:
resourceTypeAliases- the resourceTypeAliases value to set.- Returns:
- the DataPolicyManifestProperties object itself.
-
effects
public List<DataEffect> effects()
Get the effects property: The effect definition.- Returns:
- the effects value.
-
withEffects
public DataPolicyManifestProperties withEffects(List<DataEffect> effects)
Set the effects property: The effect definition.- Parameters:
effects- the effects value to set.- Returns:
- the DataPolicyManifestProperties object itself.
-
fieldValues
public List<String> fieldValues()
Get the fieldValues property: The non-alias field accessor values that can be used in the policy rule.- Returns:
- the fieldValues value.
-
withFieldValues
public DataPolicyManifestProperties withFieldValues(List<String> fieldValues)
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 DataPolicyManifestProperties object itself.
-
standard
public List<String> standard()
Get the standard property: The standard resource functions (subscription and/or resourceGroup).- Returns:
- the standard value.
-
withStandard
public DataPolicyManifestProperties withStandard(List<String> standard)
Set the standard property: The standard resource functions (subscription and/or resourceGroup).- Parameters:
standard- the standard value to set.- Returns:
- the DataPolicyManifestProperties object itself.
-
custom
public List<DataManifestCustomResourceFunctionDefinition> custom()
Get the custom property: An array of data manifest custom resource definition.- Returns:
- the custom value.
-
withCustom
public DataPolicyManifestProperties 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 DataPolicyManifestProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-