ExecuteGovernanceRuleParams Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.ExecuteGovernanceRuleParams

Implements

public final class ExecuteGovernanceRuleParams
implements JsonSerializable<ExecuteGovernanceRuleParams>

Governance rule execution parameters.

Constructor Summary

Constructor Description
ExecuteGovernanceRuleParams()

Creates an instance of ExecuteGovernanceRuleParams class.

Method Summary

Modifier and Type Method and Description
static ExecuteGovernanceRuleParams fromJson(JsonReader jsonReader)

Reads an instance of ExecuteGovernanceRuleParams from the JsonReader.

Boolean override()

Get the override property: Describe if governance rule should be override.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExecuteGovernanceRuleParams withOverride(Boolean override)

Set the override property: Describe if governance rule should be override.

Methods inherited from java.lang.Object

Constructor Details

ExecuteGovernanceRuleParams

public ExecuteGovernanceRuleParams()

Creates an instance of ExecuteGovernanceRuleParams class.

Method Details

fromJson

public static ExecuteGovernanceRuleParams fromJson(JsonReader jsonReader)

Reads an instance of ExecuteGovernanceRuleParams from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExecuteGovernanceRuleParams if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExecuteGovernanceRuleParams.

override

public Boolean override()

Get the override property: Describe if governance rule should be override.

Returns:

the override value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOverride

public ExecuteGovernanceRuleParams withOverride(Boolean override)

Set the override property: Describe if governance rule should be override.

Parameters:

override - the override value to set.

Returns:

the ExecuteGovernanceRuleParams object itself.

Applies to