Class AuthorizationRuleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.eventhubs.fluent.models.AuthorizationRuleInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class AuthorizationRuleInner
extends com.azure.core.management.ProxyResource
Single item in a List or Get AuthorizationRule operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: The geo-location where the resource lives.rights()
Get the rights property: The rights associated with the rule.com.azure.core.management.SystemData
Get the systemData property: The system meta data relating to this resource.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
fromJson, id, name, toJson, type
-
Constructor Details
-
AuthorizationRuleInner
public AuthorizationRuleInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system meta data relating to this resource.- Returns:
- the systemData value.
-
location
Get the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
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.
-