SelfServeExemptionSettings Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. SelfServeExemptionSettings
- com.
Implements
public final class SelfServeExemptionSettings
implements JsonSerializable<SelfServeExemptionSettings>
The self-serve exemption settings for a policy assignment.
Constructor Summary
| Constructor | Description |
|---|---|
| SelfServeExemptionSettings() |
Creates an instance of Self |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Indicates whether self-serve exemption is enabled. |
|
static
Self |
fromJson(JsonReader jsonReader)
Reads an instance of Self |
| List<String> |
policyDefinitionReferenceIds()
Get the policy |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Self |
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether self-serve exemption is enabled. |
|
Self |
withPolicyDefinitionReferenceIds(List<String> policyDefinitionReferenceIds)
Set the policy |
Methods inherited from java.lang.Object
Constructor Details
SelfServeExemptionSettings
public SelfServeExemptionSettings()
Creates an instance of SelfServeExemptionSettings class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Indicates whether self-serve exemption is enabled.
Returns:
fromJson
public static SelfServeExemptionSettings fromJson(JsonReader jsonReader)
Reads an instance of SelfServeExemptionSettings from the JsonReader.
Parameters:
Returns:
Throws:
policyDefinitionReferenceIds
public List<String> policyDefinitionReferenceIds()
Get the policyDefinitionReferenceIds property: The policy definition reference IDs for self-serve exemption.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public SelfServeExemptionSettings withEnabled(Boolean enabled)
Set the enabled property: Indicates whether self-serve exemption is enabled.
Parameters:
Returns:
withPolicyDefinitionReferenceIds
public SelfServeExemptionSettings withPolicyDefinitionReferenceIds(List<String> policyDefinitionReferenceIds)
Set the policyDefinitionReferenceIds property: The policy definition reference IDs for self-serve exemption.
Parameters:
Returns: