com.azure.resourcemanager.sql.models.DatabaseState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-sql Show documentation
Show all versions of azure-resourcemanager-sql Show documentation
This package contains Microsoft Azure Sql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
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.sql.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Defines values for DatabaseState.
*/
public final class DatabaseState extends ExpandableStringEnum {
/**
* Static value All for DatabaseState.
*/
public static final DatabaseState ALL = fromString("All");
/**
* Static value Live for DatabaseState.
*/
public static final DatabaseState LIVE = fromString("Live");
/**
* Static value Deleted for DatabaseState.
*/
public static final DatabaseState DELETED = fromString("Deleted");
/**
* Creates a new instance of DatabaseState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public DatabaseState() {
}
/**
* Creates or finds a DatabaseState from its string representation.
*
* @param name a name to look for.
* @return the corresponding DatabaseState.
*/
public static DatabaseState fromString(String name) {
return fromString(name, DatabaseState.class);
}
/**
* Gets known DatabaseState values.
*
* @return known DatabaseState values.
*/
public static Collection values() {
return values(DatabaseState.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy