DataPolicyManifestInner Class

public final class DataPolicyManifestInner
extends ProxyResource

The data policy manifest.

Constructor Summary

Constructor Description
DataPolicyManifestInner()

Creates an instance of DataPolicyManifestInner class.

Method Summary

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.

DataPolicyManifestInner withCustom(List<DataManifestCustomResourceFunctionDefinition> custom)

Set the custom property: An array of data manifest custom resource definition.

DataPolicyManifestInner withEffects(List<DataEffect> effects)

Set the effects property: The effect definition.

DataPolicyManifestInner withFieldValues(List<String> fieldValues)

Set the fieldValues property: The non-alias field accessor values that can be used in the policy rule.

DataPolicyManifestInner withIsBuiltInOnly(Boolean isBuiltInOnly)

Set the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.

DataPolicyManifestInner withNamespaces(List<String> namespaces)

Set the namespaces property: The list of namespaces for the data policy manifest.

DataPolicyManifestInner withPolicyMode(String policyMode)

Set the policyMode property: The policy mode of the data policy manifest.

DataPolicyManifestInner withResourceTypeAliases(List<ResourceTypeAliases> resourceTypeAliases)

Set the resourceTypeAliases property: An array of resource type aliases.

DataPolicyManifestInner withStandard(List<String> standard)

Set the standard property: The standard resource functions (subscription and/or resourceGroup).

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 custom()

Get the custom property: An array of data manifest custom resource definition.

Returns:

the custom value.

effects

public List effects()

Get the effects property: The effect definition.

Returns:

the effects value.

fieldValues

public List fieldValues()

Get the fieldValues property: The non-alias field accessor values that can be used in the policy rule.

Returns:

the fieldValues value.

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.

namespaces

public List namespaces()

Get the namespaces property: The list of namespaces for the data policy manifest.

Returns:

the namespaces value.

policyMode

public String policyMode()

Get the policyMode property: The policy mode of the data policy manifest.

Returns:

the policyMode value.

resourceTypeAliases

public List resourceTypeAliases()

Get the resourceTypeAliases property: An array of resource type aliases.

Returns:

the resourceTypeAliases value.

standard

public List standard()

Get the standard property: The standard resource functions (subscription and/or resourceGroup).

Returns:

the standard value.

validate

public void validate()

Validates the instance.

withCustom

public DataPolicyManifestInner withCustom(List 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.

withEffects

public DataPolicyManifestInner withEffects(List effects)

Set the effects property: The effect definition.

Parameters:

effects - the effects value to set.

Returns:

the DataPolicyManifestInner object itself.

withFieldValues

public DataPolicyManifestInner withFieldValues(List 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 DataPolicyManifestInner object itself.

withIsBuiltInOnly

public DataPolicyManifestInner 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 DataPolicyManifestInner object itself.

withNamespaces

public DataPolicyManifestInner withNamespaces(List namespaces)

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.

withPolicyMode

public DataPolicyManifestInner withPolicyMode(String policyMode)

Set the policyMode property: The policy mode of the data policy manifest.

Parameters:

policyMode - the policyMode value to set.

Returns:

the DataPolicyManifestInner object itself.

withResourceTypeAliases

public DataPolicyManifestInner withResourceTypeAliases(List resourceTypeAliases)

Set the resourceTypeAliases property: An array of resource type aliases.

Parameters:

resourceTypeAliases - the resourceTypeAliases value to set.

Returns:

the DataPolicyManifestInner object itself.

withStandard

public DataPolicyManifestInner withStandard(List standard)

Set the standard property: The standard resource functions (subscription and/or resourceGroup).

Parameters:

standard - the standard value to set.

Returns:

the DataPolicyManifestInner object itself.

Applies to