Class PolicySetDefinitionInner


  • public final class PolicySetDefinitionInner
    extends com.azure.core.management.ProxyResource
    The policy set definition.
    • Constructor Detail

      • PolicySetDefinitionInner

        public PolicySetDefinitionInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: The system metadata relating to this resource.
        Returns:
        the systemData value.
      • policyType

        public PolicyType policyType()
        Get the policyType property: The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
        Returns:
        the policyType value.
      • withPolicyType

        public PolicySetDefinitionInner withPolicyType​(PolicyType policyType)
        Set the policyType property: The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
        Parameters:
        policyType - the policyType value to set.
        Returns:
        the PolicySetDefinitionInner object itself.
      • displayName

        public String displayName()
        Get the displayName property: The display name of the policy set definition.
        Returns:
        the displayName value.
      • withDisplayName

        public PolicySetDefinitionInner withDisplayName​(String displayName)
        Set the displayName property: The display name of the policy set definition.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the PolicySetDefinitionInner object itself.
      • description

        public String description()
        Get the description property: The policy set definition description.
        Returns:
        the description value.
      • withDescription

        public PolicySetDefinitionInner withDescription​(String description)
        Set the description property: The policy set definition description.
        Parameters:
        description - the description value to set.
        Returns:
        the PolicySetDefinitionInner object itself.
      • metadata

        public Object metadata()
        Get the metadata property: The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
        Returns:
        the metadata value.
      • withMetadata

        public PolicySetDefinitionInner withMetadata​(Object metadata)
        Set the metadata property: The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
        Parameters:
        metadata - the metadata value to set.
        Returns:
        the PolicySetDefinitionInner object itself.
      • parameters

        public Map<String,​ParameterDefinitionsValue> parameters()
        Get the parameters property: The policy set definition parameters that can be used in policy definition references.
        Returns:
        the parameters value.
      • withParameters

        public PolicySetDefinitionInner withParameters​(Map<String,​ParameterDefinitionsValue> parameters)
        Set the parameters property: The policy set definition parameters that can be used in policy definition references.
        Parameters:
        parameters - the parameters value to set.
        Returns:
        the PolicySetDefinitionInner object itself.
      • policyDefinitions

        public List<PolicyDefinitionReference> policyDefinitions()
        Get the policyDefinitions property: An array of policy definition references.
        Returns:
        the policyDefinitions value.
      • withPolicyDefinitions

        public PolicySetDefinitionInner withPolicyDefinitions​(List<PolicyDefinitionReference> policyDefinitions)
        Set the policyDefinitions property: An array of policy definition references.
        Parameters:
        policyDefinitions - the policyDefinitions value to set.
        Returns:
        the PolicySetDefinitionInner object itself.
      • policyDefinitionGroups

        public List<PolicyDefinitionGroup> policyDefinitionGroups()
        Get the policyDefinitionGroups property: The metadata describing groups of policy definition references within the policy set definition.
        Returns:
        the policyDefinitionGroups value.
      • withPolicyDefinitionGroups

        public PolicySetDefinitionInner withPolicyDefinitionGroups​(List<PolicyDefinitionGroup> policyDefinitionGroups)
        Set the policyDefinitionGroups property: The metadata describing groups of policy definition references within the policy set definition.
        Parameters:
        policyDefinitionGroups - the policyDefinitionGroups value to set.
        Returns:
        the PolicySetDefinitionInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.