com.azure.resourcemanager.databoxedge.models.RoleStatus 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.databoxedge.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Role status.
*/
public final class RoleStatus extends ExpandableStringEnum {
/**
* Static value Enabled for RoleStatus.
*/
public static final RoleStatus ENABLED = fromString("Enabled");
/**
* Static value Disabled for RoleStatus.
*/
public static final RoleStatus DISABLED = fromString("Disabled");
/**
* Creates a new instance of RoleStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public RoleStatus() {
}
/**
* Creates or finds a RoleStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding RoleStatus.
*/
public static RoleStatus fromString(String name) {
return fromString(name, RoleStatus.class);
}
/**
* Gets known RoleStatus values.
*
* @return known RoleStatus values.
*/
public static Collection values() {
return values(RoleStatus.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy