Class SBAuthorizationRuleProperties

java.lang.Object
com.azure.resourcemanager.servicebus.fluent.models.SBAuthorizationRuleProperties

public final class SBAuthorizationRuleProperties extends Object
AuthorizationRule properties.
  • Constructor Details

    • SBAuthorizationRuleProperties

      public SBAuthorizationRuleProperties()
  • Method Details

    • rights

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

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

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