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

com.azure.resourcemanager.servicelinker.models.AccessKeyPermissions 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.resourcemanager.servicelinker.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Defines values for AccessKeyPermissions.
 */
public final class AccessKeyPermissions extends ExpandableStringEnum {
    /**
     * Static value Read for AccessKeyPermissions.
     */
    public static final AccessKeyPermissions READ = fromString("Read");

    /**
     * Static value Write for AccessKeyPermissions.
     */
    public static final AccessKeyPermissions WRITE = fromString("Write");

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

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

    /**
     * Static value Manage for AccessKeyPermissions.
     */
    public static final AccessKeyPermissions MANAGE = fromString("Manage");

    /**
     * Creates a new instance of AccessKeyPermissions value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AccessKeyPermissions() {
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy