public class PolicySetDefinitionInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
PolicySetDefinitionInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: The policy set definition description.
|
String |
displayName()
Get the displayName property: The display name of the policy set definition.
|
Object |
metadata()
Get the metadata property: The policy set definition metadata.
|
Map<String,ParameterDefinitionsValue> |
parameters()
Get the parameters property: The policy set definition parameters that can be used in policy definition
references.
|
List<PolicyDefinitionGroup> |
policyDefinitionGroups()
Get the policyDefinitionGroups property: The metadata describing groups of policy definition references within
the policy set definition.
|
List<PolicyDefinitionReference> |
policyDefinitions()
Get the policyDefinitions property: An array of policy definition references.
|
PolicyType |
policyType()
Get the policyType property: The type of policy definition.
|
void |
validate()
Validates the instance.
|
PolicySetDefinitionInner |
withDescription(String description)
Set the description property: The policy set definition description.
|
PolicySetDefinitionInner |
withDisplayName(String displayName)
Set the displayName property: The display name of the policy set definition.
|
PolicySetDefinitionInner |
withMetadata(Object metadata)
Set the metadata property: The policy set definition metadata.
|
PolicySetDefinitionInner |
withParameters(Map<String,ParameterDefinitionsValue> parameters)
Set the parameters property: The policy set definition parameters that can be used in policy definition
references.
|
PolicySetDefinitionInner |
withPolicyDefinitionGroups(List<PolicyDefinitionGroup> policyDefinitionGroups)
Set the policyDefinitionGroups property: The metadata describing groups of policy definition references within
the policy set definition.
|
PolicySetDefinitionInner |
withPolicyDefinitions(List<PolicyDefinitionReference> policyDefinitions)
Set the policyDefinitions property: An array of policy definition references.
|
PolicySetDefinitionInner |
withPolicyType(PolicyType policyType)
Set the policyType property: The type of policy definition.
|
public PolicyType policyType()
public PolicySetDefinitionInner withPolicyType(PolicyType policyType)
policyType - the policyType value to set.public String displayName()
public PolicySetDefinitionInner withDisplayName(String displayName)
displayName - the displayName value to set.public String description()
public PolicySetDefinitionInner withDescription(String description)
description - the description value to set.public Object metadata()
public PolicySetDefinitionInner withMetadata(Object metadata)
metadata - the metadata value to set.public Map<String,ParameterDefinitionsValue> parameters()
public PolicySetDefinitionInner withParameters(Map<String,ParameterDefinitionsValue> parameters)
parameters - the parameters value to set.public List<PolicyDefinitionReference> policyDefinitions()
public PolicySetDefinitionInner withPolicyDefinitions(List<PolicyDefinitionReference> policyDefinitions)
policyDefinitions - the policyDefinitions value to set.public List<PolicyDefinitionGroup> policyDefinitionGroups()
public PolicySetDefinitionInner withPolicyDefinitionGroups(List<PolicyDefinitionGroup> policyDefinitionGroups)
policyDefinitionGroups - the policyDefinitionGroups value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.