com.azure.resourcemanager.mongocluster.models.CreateMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-mongocluster Show documentation
Show all versions of azure-resourcemanager-mongocluster Show documentation
This package contains Microsoft Azure SDK for Mongo Cluster Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure Cosmos DB for MongoDB vCore resources including clusters and firewall rules.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.mongocluster.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The mode that the Mongo Cluster is created with.
*/
public final class CreateMode extends ExpandableStringEnum {
/**
* Static value Default for CreateMode.
*/
public static final CreateMode DEFAULT = fromString("Default");
/**
* Static value PointInTimeRestore for CreateMode.
*/
public static final CreateMode POINT_IN_TIME_RESTORE = fromString("PointInTimeRestore");
/**
* Static value GeoReplica for CreateMode.
*/
public static final CreateMode GEO_REPLICA = fromString("GeoReplica");
/**
* Static value Replica for CreateMode.
*/
public static final CreateMode REPLICA = fromString("Replica");
/**
* Creates a new instance of CreateMode value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public CreateMode() {
}
/**
* Creates or finds a CreateMode from its string representation.
*
* @param name a name to look for.
* @return the corresponding CreateMode.
*/
public static CreateMode fromString(String name) {
return fromString(name, CreateMode.class);
}
/**
* Gets known CreateMode values.
*
* @return known CreateMode values.
*/
public static Collection values() {
return values(CreateMode.class);
}
}