Class SBAuthorizationRuleInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.servicebus.fluent.models.SBAuthorizationRuleInner
-
public class SBAuthorizationRuleInner extends com.azure.core.management.ResourceDescription of a namespace authorization rule.
-
-
Constructor Summary
Constructors Constructor Description SBAuthorizationRuleInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AccessRights>rights()Get the rights property: The rights associated with the rule.voidvalidate()Validates the instance.SBAuthorizationRuleInnerwithRights(List<AccessRights> rights)Set the rights property: The rights associated with the rule.
-
-
-
Method Detail
-
rights
public List<AccessRights> rights()
Get the rights property: The rights associated with the rule.- Returns:
- the rights value.
-
withRights
public SBAuthorizationRuleInner withRights(List<AccessRights> rights)
Set the rights property: The rights associated with the rule.- Parameters:
rights- the rights value to set.- Returns:
- the SBAuthorizationRuleInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-