Class PolicyDefinitionGroup
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.PolicyDefinitionGroup
-
public final class PolicyDefinitionGroup extends Object
The policy definition group.
-
-
Constructor Summary
Constructors Constructor Description PolicyDefinitionGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringadditionalMetadataId()Get the additionalMetadataId property: A resource ID of a resource that contains additional metadata about the group.Stringcategory()Get the category property: The group's category.Stringdescription()Get the description property: The group's description.StringdisplayName()Get the displayName property: The group's display name.Stringname()Get the name property: The name of the group.voidvalidate()Validates the instance.PolicyDefinitionGroupwithAdditionalMetadataId(String additionalMetadataId)Set the additionalMetadataId property: A resource ID of a resource that contains additional metadata about the group.PolicyDefinitionGroupwithCategory(String category)Set the category property: The group's category.PolicyDefinitionGroupwithDescription(String description)Set the description property: The group's description.PolicyDefinitionGroupwithDisplayName(String displayName)Set the displayName property: The group's display name.PolicyDefinitionGroupwithName(String name)Set the name property: The name of the group.
-
-
-
Method Detail
-
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.
-
-