Class AuthorizationRuleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.relay.fluent.models.AuthorizationRuleInner
public final class AuthorizationRuleInner
extends com.azure.core.management.ProxyResource
Description of a namespace authorization rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrights()
Get the rights property: The rights associated with the rule.void
validate()
Validates the instance.withRights
(List<AccessRights> rights) Set the rights property: The rights associated with the rule.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AuthorizationRuleInner
public AuthorizationRuleInner()
-
-
Method Details
-
rights
Get the rights property: The rights associated with the rule.- Returns:
- the rights value.
-
withRights
Set the rights property: The rights associated with the rule.- Parameters:
rights
- the rights value to set.- Returns:
- the AuthorizationRuleInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-