Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.eventhub.implementation; import java.util.List; import com.microsoft.azure.management.eventhub.AccessRights; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.ProxyResource;
Single item in a List or Get AuthorizationRule operation.
/** * Single item in a List or Get AuthorizationRule operation. */
@JsonFlatten public class AuthorizationRuleInner extends ProxyResource {
The rights associated with the rule.
/** * The rights associated with the rule. */
@JsonProperty(value = "properties.rights", required = true) private List<AccessRights> rights;
Get the rights associated with the rule.
Returns:the rights value
/** * Get the rights associated with the rule. * * @return the rights value */
public List<AccessRights> rights() { return this.rights; }
Set the rights associated with the rule.
Params:
  • rights – the rights value to set
Returns:the AuthorizationRuleInner object itself.
/** * Set the rights associated with the rule. * * @param rights the rights value to set * @return the AuthorizationRuleInner object itself. */
public AuthorizationRuleInner withRights(List<AccessRights> rights) { this.rights = rights; return this; } }