Class PolicyDefinitionGroup

java.lang.Object
com.azure.resourcemanager.resources.models.PolicyDefinitionGroup

public final class PolicyDefinitionGroup extends Object
The policy definition group.
  • Constructor Details

    • PolicyDefinitionGroup

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

    • name

      public String name()
      Get the name property: The name of the group.
      Returns:
      the name value.
    • withName

      public PolicyDefinitionGroup withName(String name)
      Set the name property: The name of the group.
      Parameters:
      name - the name value to set.
      Returns:
      the PolicyDefinitionGroup object itself.
    • displayName

      public String displayName()
      Get the displayName property: The group's display name.
      Returns:
      the displayName value.
    • withDisplayName

      public PolicyDefinitionGroup withDisplayName(String displayName)
      Set the displayName property: The group's display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the PolicyDefinitionGroup object itself.
    • category

      public String category()
      Get the category property: The group's category.
      Returns:
      the category value.
    • withCategory

      public PolicyDefinitionGroup withCategory(String category)
      Set the category property: The group's category.
      Parameters:
      category - the category value to set.
      Returns:
      the PolicyDefinitionGroup object itself.
    • description

      public String description()
      Get the description property: The group's description.
      Returns:
      the description value.
    • withDescription

      public PolicyDefinitionGroup withDescription(String description)
      Set the description property: The group's description.
      Parameters:
      description - the description value to set.
      Returns:
      the PolicyDefinitionGroup object itself.
    • additionalMetadataId

      public String additionalMetadataId()
      Get the additionalMetadataId property: A resource ID of a resource that contains additional metadata about the group.
      Returns:
      the additionalMetadataId value.
    • withAdditionalMetadataId

      public PolicyDefinitionGroup withAdditionalMetadataId(String additionalMetadataId)
      Set the additionalMetadataId property: A resource ID of a resource that contains additional metadata about the group.
      Parameters:
      additionalMetadataId - the additionalMetadataId value to set.
      Returns:
      the PolicyDefinitionGroup object itself.
    • validate

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