Class PolicyDefinitionGroup
java.lang.Object
com.azure.resourcemanager.resources.models.PolicyDefinitionGroup
The policy definition group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalMetadataId property: A resource ID of a resource that contains additional metadata about the group.category()Get the category property: The group's category.Get the description property: The group's description.Get the displayName property: The group's display name.name()Get the name property: The name of the group.voidvalidate()Validates the instance.withAdditionalMetadataId(String additionalMetadataId) Set the additionalMetadataId property: A resource ID of a resource that contains additional metadata about the group.withCategory(String category) Set the category property: The group's category.withDescription(String description) Set the description property: The group's description.withDisplayName(String displayName) Set the displayName property: The group's display name.Set the name property: The name of the group.
-
Constructor Details
-
PolicyDefinitionGroup
public PolicyDefinitionGroup()Creates an instance of PolicyDefinitionGroup class.
-
-
Method Details
-
name
Get the name property: The name of the group.- Returns:
- the name value.
-
withName
Set the name property: The name of the group.- Parameters:
name- the name value to set.- Returns:
- the PolicyDefinitionGroup object itself.
-
displayName
Get the displayName property: The group's display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The group's display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the PolicyDefinitionGroup object itself.
-
category
Get the category property: The group's category.- Returns:
- the category value.
-
withCategory
Set the category property: The group's category.- Parameters:
category- the category value to set.- Returns:
- the PolicyDefinitionGroup object itself.
-
description
Get the description property: The group's description.- Returns:
- the description value.
-
withDescription
Set the description property: The group's description.- Parameters:
description- the description value to set.- Returns:
- the PolicyDefinitionGroup object itself.
-
additionalMetadataId
Get the additionalMetadataId property: A resource ID of a resource that contains additional metadata about the group.- Returns:
- the additionalMetadataId value.
-
withAdditionalMetadataId
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.
-