Enum CreateDistributedDatabaseShardDatabaseDetails.Source
- java.lang.Object
-
- java.lang.Enum<CreateDistributedDatabaseShardDatabaseDetails.Source>
-
- com.oracle.bmc.distributeddatabasev26.model.CreateDistributedDatabaseShardDatabaseDetails.Source
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<CreateDistributedDatabaseShardDatabaseDetails.Source>
- Enclosing class:
- CreateDistributedDatabaseShardDatabaseDetails
public static enum CreateDistributedDatabaseShardDatabaseDetails.Source extends Enum<CreateDistributedDatabaseShardDatabaseDetails.Source> implements BmcEnum
The source of the Globally distributed database type.Use XS_EXISTING_CLUSTER for a database on Exascale Infrastructure that uses a pre-existing cluster. Use XS_NEW_CLUSTER for a database on Exascale Infrastructure that requires a new cluster created from scratch. Use XS_NEW_VAULT_AND_CLUSTER for a database on Exascale Infrastructure that requires a new vault and cluster created from scratch. Use XD_EXISTING_CLUSTER for a database on Dedicated Infrastructure that uses a pre-existing cluster. Use EXISTING_DB_HOME for a database on a pre-existing database home.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ExistingDbHomeXdExistingClusterXsExistingClusterXsNewClusterXsNewVaultAndCluster
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDistributedDatabaseShardDatabaseDetails.Sourcecreate(String key)StringgetValue()static CreateDistributedDatabaseShardDatabaseDetails.SourcevalueOf(String name)Returns the enum constant of this type with the specified name.static CreateDistributedDatabaseShardDatabaseDetails.Source[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XsExistingCluster
public static final CreateDistributedDatabaseShardDatabaseDetails.Source XsExistingCluster
-
XsNewCluster
public static final CreateDistributedDatabaseShardDatabaseDetails.Source XsNewCluster
-
XsNewVaultAndCluster
public static final CreateDistributedDatabaseShardDatabaseDetails.Source XsNewVaultAndCluster
-
XdExistingCluster
public static final CreateDistributedDatabaseShardDatabaseDetails.Source XdExistingCluster
-
ExistingDbHome
public static final CreateDistributedDatabaseShardDatabaseDetails.Source ExistingDbHome
-
-
Method Detail
-
values
public static CreateDistributedDatabaseShardDatabaseDetails.Source[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CreateDistributedDatabaseShardDatabaseDetails.Source c : CreateDistributedDatabaseShardDatabaseDetails.Source.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateDistributedDatabaseShardDatabaseDetails.Source valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
create
public static CreateDistributedDatabaseShardDatabaseDetails.Source create(String key)
-
-