Enum DistributedDatabaseCatalogDatabase.Source
- java.lang.Object
-
- java.lang.Enum<DistributedDatabaseCatalogDatabase.Source>
-
- com.oracle.bmc.distributeddatabasev26.model.DistributedDatabaseCatalogDatabase.Source
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<DistributedDatabaseCatalogDatabase.Source>
- Enclosing class:
- DistributedDatabaseCatalogDatabase
public static enum DistributedDatabaseCatalogDatabase.Source extends Enum<DistributedDatabaseCatalogDatabase.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 DistributedDatabaseCatalogDatabase.Sourcecreate(String key)StringgetValue()static DistributedDatabaseCatalogDatabase.SourcevalueOf(String name)Returns the enum constant of this type with the specified name.static DistributedDatabaseCatalogDatabase.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 DistributedDatabaseCatalogDatabase.Source XsExistingCluster
-
XsNewCluster
public static final DistributedDatabaseCatalogDatabase.Source XsNewCluster
-
XsNewVaultAndCluster
public static final DistributedDatabaseCatalogDatabase.Source XsNewVaultAndCluster
-
XdExistingCluster
public static final DistributedDatabaseCatalogDatabase.Source XdExistingCluster
-
ExistingDbHome
public static final DistributedDatabaseCatalogDatabase.Source ExistingDbHome
-
UnknownEnumValue
public static final DistributedDatabaseCatalogDatabase.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 DistributedDatabaseCatalogDatabase.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 (DistributedDatabaseCatalogDatabase.Source c : DistributedDatabaseCatalogDatabase.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 DistributedDatabaseCatalogDatabase.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 DistributedDatabaseCatalogDatabase.Source create(String key)
-
-