Class GovernanceRuleOwnerSource

java.lang.Object
com.azure.resourcemanager.security.models.GovernanceRuleOwnerSource

public final class GovernanceRuleOwnerSource extends Object
Describe the owner source of governance rule.
  • 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

      public String value()
      Get the value property: The source value e.g. tag key like owner name or email address.
      Returns:
      the value value.
    • withValue

      public GovernanceRuleOwnerSource withValue(String value)
      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.