com.azure.resourcemanager.cosmos.models.DatabaseAccountKind Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-cosmos Show documentation
Show all versions of azure-resourcemanager-cosmos Show documentation
This package contains Microsoft Azure CosmosDB SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.cosmos.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Indicates the type of database account. This can only be set at database account creation.
*/
public final class DatabaseAccountKind extends ExpandableStringEnum {
/**
* Static value GlobalDocumentDB for DatabaseAccountKind.
*/
public static final DatabaseAccountKind GLOBAL_DOCUMENT_DB = fromString("GlobalDocumentDB");
/**
* Static value MongoDB for DatabaseAccountKind.
*/
public static final DatabaseAccountKind MONGO_DB = fromString("MongoDB");
/**
* Static value Parse for DatabaseAccountKind.
*/
public static final DatabaseAccountKind PARSE = fromString("Parse");
/**
* Creates a new instance of DatabaseAccountKind value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public DatabaseAccountKind() {
}
/**
* Creates or finds a DatabaseAccountKind from its string representation.
*
* @param name a name to look for.
* @return the corresponding DatabaseAccountKind.
*/
public static DatabaseAccountKind fromString(String name) {
return fromString(name, DatabaseAccountKind.class);
}
/**
* Gets known DatabaseAccountKind values.
*
* @return known DatabaseAccountKind values.
*/
public static Collection values() {
return values(DatabaseAccountKind.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy