com.microsoft.azure.management.eventhub.implementation.AuthorizationRuleInner Maven / Gradle / Ivy
/**
* 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.
*/
@JsonFlatten
public class AuthorizationRuleInner extends ProxyResource {
/**
* The rights associated with the rule.
*/
@JsonProperty(value = "properties.rights", required = true)
private List rights;
/**
* Get the rights associated with the rule.
*
* @return the rights value
*/
public List rights() {
return this.rights;
}
/**
* Set the rights associated with the rule.
*
* @param rights the rights value to set
* @return the AuthorizationRuleInner object itself.
*/
public AuthorizationRuleInner withRights(List rights) {
this.rights = rights;
return this;
}
}