Package com.oracle.bmc.database.model
Enum LaunchDbSystemBase.Source
- java.lang.Object
-
- java.lang.Enum<LaunchDbSystemBase.Source>
-
- com.oracle.bmc.database.model.LaunchDbSystemBase.Source
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<LaunchDbSystemBase.Source>
- Enclosing class:
- LaunchDbSystemBase
public static enum LaunchDbSystemBase.Source extends Enum<LaunchDbSystemBase.Source> implements BmcEnum
The source of the database: Use NONE for creating a new database.Use DB_BACKUP for creating a new database by restoring from a backup. Use DATABASE for creating a new database from an existing database, including archive redo log data. The default is NONE.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchDbSystemBase.Source
create(String key)
String
getValue()
static LaunchDbSystemBase.Source
valueOf(String name)
Returns the enum constant of this type with the specified name.static LaunchDbSystemBase.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final LaunchDbSystemBase.Source None
-
DbBackup
public static final LaunchDbSystemBase.Source DbBackup
-
Database
public static final LaunchDbSystemBase.Source Database
-
DbSystem
public static final LaunchDbSystemBase.Source DbSystem
-
-
Method Detail
-
values
public static LaunchDbSystemBase.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 (LaunchDbSystemBase.Source c : LaunchDbSystemBase.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 LaunchDbSystemBase.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 LaunchDbSystemBase.Source create(String key)
-
-