All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.messaging.servicebus.administration.models.AccessRights Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.messaging.servicebus.administration.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;

import java.util.Collection;

/** Defines values for AccessRights. */
public final class AccessRights extends ExpandableStringEnum {
    /** Static value Manage for AccessRights. */
    public static final AccessRights MANAGE = fromString("Manage");

    /** Static value Send for AccessRights. */
    public static final AccessRights SEND = fromString("Send");

    /** Static value Listen for AccessRights. */
    public static final AccessRights LISTEN = fromString("Listen");

    /**
     * Creates or finds a AccessRights from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding AccessRights.
     */
    @JsonCreator
    public static AccessRights fromString(String name) {
        return fromString(name, AccessRights.class);
    }

    /** @return known AccessRights values. */
    public static Collection values() {
        return values(AccessRights.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy