Class AuthorizationRuleProperties

java.lang.Object
com.azure.resourcemanager.relay.fluent.models.AuthorizationRuleProperties

public final class AuthorizationRuleProperties extends Object
Authorization rule properties.
  • Constructor Details

    • AuthorizationRuleProperties

      public AuthorizationRuleProperties()
  • Method Details

    • rights

      public List<AccessRights> rights()
      Get the rights property: The rights associated with the rule.
      Returns:
      the rights value.
    • withRights

      public AuthorizationRuleProperties withRights(List<AccessRights> rights)
      Set the rights property: The rights associated with the rule.
      Parameters:
      rights - the rights value to set.
      Returns:
      the AuthorizationRuleProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.