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.servicebus.implementation; import java.util.List; import com.microsoft.azure.management.servicebus.AccessRights; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.Resource;
Description of a namespace authorization rule.
/** * Description of a namespace authorization rule. */
@JsonFlatten public class SharedAccessAuthorizationRuleInner extends Resource {
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 value.
Returns:the rights value
/** * Get the rights value. * * @return the rights value */
public List<AccessRights> rights() { return this.rights; }
Set the rights value.
Params:
  • rights – the rights value to set
Returns:the SharedAccessAuthorizationRuleInner object itself.
/** * Set the rights value. * * @param rights the rights value to set * @return the SharedAccessAuthorizationRuleInner object itself. */
public SharedAccessAuthorizationRuleInner withRights(List<AccessRights> rights) { this.rights = rights; return this; } }