Class GovernanceRuleOwnerSource
java.lang.Object
com.azure.resourcemanager.security.models.GovernanceRuleOwnerSource
Describe the owner source of governance rule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontype()
Get the type property: The owner type for the governance rule owner source.void
validate()
Validates the instance.value()
Get the value property: The source value e.g.Set the type property: The owner type for the governance rule owner source.Set the value property: The source value e.g.
-
Constructor Details
-
GovernanceRuleOwnerSource
public GovernanceRuleOwnerSource()
-
-
Method Details
-
type
Get the type property: The owner type for the governance rule owner source.- Returns:
- the type value.
-
withType
Set the type property: The owner type for the governance rule owner source.- Parameters:
type
- the type value to set.- Returns:
- the GovernanceRuleOwnerSource object itself.
-
value
Get the value property: The source value e.g. tag key like owner name or email address.- Returns:
- the value value.
-
withValue
Set the value property: The source value e.g. tag key like owner name or email address.- Parameters:
value
- the value value to set.- Returns:
- the GovernanceRuleOwnerSource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-