Enum DistributedDatabaseShardDatabase.Source
- java.lang.Object
-
- java.lang.Enum<DistributedDatabaseShardDatabase.Source>
-
- com.oracle.bmc.distributeddatabasev26.model.DistributedDatabaseShardDatabase.Source
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<DistributedDatabaseShardDatabase.Source>
- Enclosing class:
- DistributedDatabaseShardDatabase
public static enum DistributedDatabaseShardDatabase.Source extends Enum<DistributedDatabaseShardDatabase.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 ExistingDbHomeUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.XdExistingClusterXsExistingClusterXsNewClusterXsNewVaultAndCluster
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributedDatabaseShardDatabase.Sourcecreate(String key)StringgetValue()static DistributedDatabaseShardDatabase.SourcevalueOf(String name)Returns the enum constant of this type with the specified name.static DistributedDatabaseShardDatabase.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 DistributedDatabaseShardDatabase.Source XsExistingCluster
-
XsNewCluster
public static final DistributedDatabaseShardDatabase.Source XsNewCluster
-
XsNewVaultAndCluster
public static final DistributedDatabaseShardDatabase.Source XsNewVaultAndCluster
-
XdExistingCluster
public static final DistributedDatabaseShardDatabase.Source XdExistingCluster
-
ExistingDbHome
public static final DistributedDatabaseShardDatabase.Source ExistingDbHome
-
UnknownEnumValue
public static final DistributedDatabaseShardDatabase.Source UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static DistributedDatabaseShardDatabase.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 (DistributedDatabaseShardDatabase.Source c : DistributedDatabaseShardDatabase.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 DistributedDatabaseShardDatabase.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 DistributedDatabaseShardDatabase.Source create(String key)
-
-