public final class PolicyDefinitionGroup extends Object
| Constructor and Description |
|---|
PolicyDefinitionGroup() |
| Modifier and Type | Method and Description |
|---|---|
String |
additionalMetadataId()
Get the additionalMetadataId property: A resource ID of a resource that contains additional metadata about the
group.
|
String |
category()
Get the category property: The group's category.
|
String |
description()
Get the description property: The group's description.
|
String |
displayName()
Get the displayName property: The group's display name.
|
String |
name()
Get the name property: The name of the group.
|
void |
validate()
Validates the instance.
|
PolicyDefinitionGroup |
withAdditionalMetadataId(String additionalMetadataId)
Set the additionalMetadataId property: A resource ID of a resource that contains additional metadata about the
group.
|
PolicyDefinitionGroup |
withCategory(String category)
Set the category property: The group's category.
|
PolicyDefinitionGroup |
withDescription(String description)
Set the description property: The group's description.
|
PolicyDefinitionGroup |
withDisplayName(String displayName)
Set the displayName property: The group's display name.
|
PolicyDefinitionGroup |
withName(String name)
Set the name property: The name of the group.
|
public String name()
public PolicyDefinitionGroup withName(String name)
name - the name value to set.public String displayName()
public PolicyDefinitionGroup withDisplayName(String displayName)
displayName - the displayName value to set.public String category()
public PolicyDefinitionGroup withCategory(String category)
category - the category value to set.public String description()
public PolicyDefinitionGroup withDescription(String description)
description - the description value to set.public String additionalMetadataId()
public PolicyDefinitionGroup withAdditionalMetadataId(String additionalMetadataId)
additionalMetadataId - the additionalMetadataId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.