PolicySetDefinitionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. resources. fluent. models. PolicySetDefinitionInner
- com.
- com.
public final class PolicySetDefinitionInner
extends ProxyResource
The policy set definition.
Constructor Summary
Constructor | Description |
---|---|
PolicySetDefinitionInner() |
Creates an instance of Policy |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The policy set definition description. |
String |
displayName()
Get the display |
static
Policy |
fromJson(JsonReader jsonReader)
Reads an instance of Policy |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Object |
metadata()
Get the metadata property: The policy set definition metadata. |
String |
name()
Get the name property: The name of the resource. |
Map<String,Parameter |
parameters()
Get the parameters property: The policy set definition parameters that can be used in policy definition references. |
List<Policy |
policyDefinitionGroups()
Get the policy |
List<Policy |
policyDefinitions()
Get the policy |
Policy |
policyType()
Get the policy |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Policy |
withDescription(String description)
Set the description property: The policy set definition description. |
Policy |
withDisplayName(String displayName)
Set the display |
Policy |
withMetadata(Object metadata)
Set the metadata property: The policy set definition metadata. |
Policy |
withParameters(Map<String,ParameterDefinitionsValue> parameters)
Set the parameters property: The policy set definition parameters that can be used in policy definition references. |
Policy |
withPolicyDefinitionGroups(List<PolicyDefinitionGroup> policyDefinitionGroups)
Set the policy |
Policy |
withPolicyDefinitions(List<PolicyDefinitionReference> policyDefinitions)
Set the policy |
Policy |
withPolicyType(PolicyType policyType)
Set the policy |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
PolicySetDefinitionInner
public PolicySetDefinitionInner()
Creates an instance of PolicySetDefinitionInner class.
Method Details
description
public String description()
Get the description property: The policy set definition description.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the policy set definition.
Returns:
fromJson
public static PolicySetDefinitionInner fromJson(JsonReader jsonReader)
Reads an instance of PolicySetDefinitionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PolicySetDefinitionInner.id()Returns:
metadata
public Object metadata()
Get the metadata property: The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PolicySetDefinitionInner.name()Returns:
parameters
public Map
Get the parameters property: The policy set definition parameters that can be used in policy definition references.
Returns:
policyDefinitionGroups
public List
Get the policyDefinitionGroups property: The metadata describing groups of policy definition references within the policy set definition.
Returns:
policyDefinitions
public List
Get the policyDefinitions property: An array of policy definition references.
Returns:
policyType
public PolicyType policyType()
Get the policyType property: The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PolicySetDefinitionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PolicySetDefinitionInner.type()Returns:
validate
public void validate()
Validates the instance.
withDescription
public PolicySetDefinitionInner withDescription(String description)
Set the description property: The policy set definition description.
Parameters:
Returns:
withDisplayName
public PolicySetDefinitionInner withDisplayName(String displayName)
Set the displayName property: The display name of the policy set definition.
Parameters:
Returns:
withMetadata
public PolicySetDefinitionInner withMetadata(Object metadata)
Set the metadata property: The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
Parameters:
Returns:
withParameters
public PolicySetDefinitionInner withParameters(Map
Set the parameters property: The policy set definition parameters that can be used in policy definition references.
Parameters:
Returns:
withPolicyDefinitionGroups
public PolicySetDefinitionInner withPolicyDefinitionGroups(List
Set the policyDefinitionGroups property: The metadata describing groups of policy definition references within the policy set definition.
Parameters:
Returns:
withPolicyDefinitions
public PolicySetDefinitionInner withPolicyDefinitions(List
Set the policyDefinitions property: An array of policy definition references.
Parameters:
Returns:
withPolicyType
public PolicySetDefinitionInner withPolicyType(PolicyType policyType)
Set the policyType property: The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
Parameters:
Returns:
Applies to
Azure SDK for Java