GovernanceRuleOwnerSource Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. GovernanceRuleOwnerSource
- com.
public final class 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 |
---|---|
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
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for