GovernanceRuleOwnerSource Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. GovernanceRuleOwnerSource
- com.
Implements
public final class GovernanceRuleOwnerSource
implements JsonSerializable<GovernanceRuleOwnerSource>
Describe the owner source of governance rule.
Constructor Summary
| Constructor | Description |
|---|---|
| GovernanceRuleOwnerSource() |
Creates an instance of Governance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Governance |
fromJson(JsonReader jsonReader)
Reads an instance of Governance |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Governance |
type()
Get the type property: The owner type for the governance rule owner source. |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: The source value e. |
|
Governance |
withType(GovernanceRuleOwnerSourceType type)
Set the type property: The owner type for the governance rule owner source. |
|
Governance |
withValue(String value)
Set the value property: The source value e. |
Methods inherited from java.lang.Object
Constructor Details
GovernanceRuleOwnerSource
public GovernanceRuleOwnerSource()
Creates an instance of GovernanceRuleOwnerSource class.
Method Details
fromJson
public static GovernanceRuleOwnerSource fromJson(JsonReader jsonReader)
Reads an instance of GovernanceRuleOwnerSource from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public GovernanceRuleOwnerSourceType type()
Get the type property: The owner type for the governance rule owner source.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The source value e.g. tag key like owner name or email address.
Returns:
withType
public GovernanceRuleOwnerSource withType(GovernanceRuleOwnerSourceType type)
Set the type property: The owner type for the governance rule owner source.
Parameters:
Returns:
withValue
public GovernanceRuleOwnerSource withValue(String value)
Set the value property: The source value e.g. tag key like owner name or email address.
Parameters:
Returns: