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 Details

    • DataPolicyManifestInner

      public DataPolicyManifestInner()
      Creates an instance of DataPolicyManifestInner class.
  • Method Details

    • namespaces

      public List<String> namespaces()
      Get the namespaces property: The list of namespaces for the data policy manifest.
      Returns:
      the namespaces value.
    • withNamespaces

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

      public String policyMode()
      Get the policyMode property: The policy mode of the data policy manifest.
      Returns:
      the policyMode value.
    • 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.
    • 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 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.
    • resourceTypeAliases

      public List<ResourceTypeAliases> 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

      public List<DataEffect> effects()
      Get the effects property: The effect definition.
      Returns:
      the effects value.
    • withEffects

      public DataPolicyManifestInner withEffects(List<DataEffect> effects)
      Set the effects property: The effect definition.
      Parameters:
      effects - the effects value to set.
      Returns:
      the DataPolicyManifestInner 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 DataPolicyManifestInner 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 DataPolicyManifestInner 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 DataPolicyManifestInner 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 DataPolicyManifestInner object itself.
    • custom

      Get the custom property: An array of data manifest custom resource definition.
      Returns:
      the custom value.
    • withCustom

      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.