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

com.azure.resourcemanager.logz.models.UserRole Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for logz Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2020-10-01.

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

package com.azure.resourcemanager.logz.models;

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

/**
 * User roles on configured in Logz.io account.
 */
public final class UserRole extends ExpandableStringEnum {
    /**
     * Static value None for UserRole.
     */
    public static final UserRole NONE = fromString("None");

    /**
     * Static value User for UserRole.
     */
    public static final UserRole USER = fromString("User");

    /**
     * Static value Admin for UserRole.
     */
    public static final UserRole ADMIN = fromString("Admin");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy