public final class DataPolicyManifestProperties extends Object
| Constructor and Description |
|---|
DataPolicyManifestProperties() |
| Modifier and Type | Method and 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.
|
Boolean |
isBuiltInOnly()
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.
|
String |
policyMode()
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).
|
void |
validate()
Validates the instance.
|
DataPolicyManifestProperties |
withCustom(List<DataManifestCustomResourceFunctionDefinition> custom)
Set the custom property: An array of data manifest custom resource definition.
|
DataPolicyManifestProperties |
withEffects(List<DataEffect> effects)
Set the effects property: The effect definition.
|
DataPolicyManifestProperties |
withFieldValues(List<String> fieldValues)
Set the fieldValues property: The non-alias field accessor values that can be used in the policy rule.
|
DataPolicyManifestProperties |
withIsBuiltInOnly(Boolean isBuiltInOnly)
Set the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.
|
DataPolicyManifestProperties |
withNamespaces(List<String> namespaces)
Set the namespaces property: The list of namespaces for the data policy manifest.
|
DataPolicyManifestProperties |
withPolicyMode(String policyMode)
Set the policyMode property: The policy mode of the data policy manifest.
|
DataPolicyManifestProperties |
withResourceTypeAliases(List<ResourceTypeAliases> resourceTypeAliases)
Set the resourceTypeAliases property: An array of resource type aliases.
|
DataPolicyManifestProperties |
withStandard(List<String> standard)
Set the standard property: The standard resource functions (subscription and/or resourceGroup).
|
public List<String> namespaces()
public DataPolicyManifestProperties withNamespaces(List<String> namespaces)
namespaces - the namespaces value to set.public String policyMode()
public DataPolicyManifestProperties withPolicyMode(String policyMode)
policyMode - the policyMode value to set.public Boolean isBuiltInOnly()
public DataPolicyManifestProperties withIsBuiltInOnly(Boolean isBuiltInOnly)
isBuiltInOnly - the isBuiltInOnly value to set.public List<ResourceTypeAliases> resourceTypeAliases()
public DataPolicyManifestProperties withResourceTypeAliases(List<ResourceTypeAliases> resourceTypeAliases)
resourceTypeAliases - the resourceTypeAliases value to set.public List<DataEffect> effects()
public DataPolicyManifestProperties withEffects(List<DataEffect> effects)
effects - the effects value to set.public List<String> fieldValues()
public DataPolicyManifestProperties withFieldValues(List<String> fieldValues)
fieldValues - the fieldValues value to set.public List<String> standard()
public DataPolicyManifestProperties withStandard(List<String> standard)
standard - the standard value to set.public List<DataManifestCustomResourceFunctionDefinition> custom()
public DataPolicyManifestProperties withCustom(List<DataManifestCustomResourceFunctionDefinition> custom)
custom - the custom value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.