public final class PolicyDefinitionReference extends Object
| Constructor and Description |
|---|
PolicyDefinitionReference() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
groupNames()
Get the groupNames property: The name of the groups that this policy definition reference belongs to.
|
Map<String,ParameterValuesValue> |
parameters()
Get the parameters property: The parameter values for the referenced policy rule.
|
String |
policyDefinitionId()
Get the policyDefinitionId property: The ID of the policy definition or policy set definition.
|
String |
policyDefinitionReferenceId()
Get the policyDefinitionReferenceId property: A unique id (within the policy set definition) for this policy
definition reference.
|
void |
validate()
Validates the instance.
|
PolicyDefinitionReference |
withGroupNames(List<String> groupNames)
Set the groupNames property: The name of the groups that this policy definition reference belongs to.
|
PolicyDefinitionReference |
withParameters(Map<String,ParameterValuesValue> parameters)
Set the parameters property: The parameter values for the referenced policy rule.
|
PolicyDefinitionReference |
withPolicyDefinitionId(String policyDefinitionId)
Set the policyDefinitionId property: The ID of the policy definition or policy set definition.
|
PolicyDefinitionReference |
withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
Set the policyDefinitionReferenceId property: A unique id (within the policy set definition) for this policy
definition reference.
|
public String policyDefinitionId()
public PolicyDefinitionReference withPolicyDefinitionId(String policyDefinitionId)
policyDefinitionId - the policyDefinitionId value to set.public Map<String,ParameterValuesValue> parameters()
public PolicyDefinitionReference withParameters(Map<String,ParameterValuesValue> parameters)
parameters - the parameters value to set.public String policyDefinitionReferenceId()
public PolicyDefinitionReference withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
policyDefinitionReferenceId - the policyDefinitionReferenceId value to set.public List<String> groupNames()
public PolicyDefinitionReference withGroupNames(List<String> groupNames)
groupNames - the groupNames value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.