Package com.oracle.bmc.database.model
Enum LaunchDbSystemFromDatabaseDetails.DiskRedundancy
- java.lang.Object
-
- java.lang.Enum<LaunchDbSystemFromDatabaseDetails.DiskRedundancy>
-
- com.oracle.bmc.database.model.LaunchDbSystemFromDatabaseDetails.DiskRedundancy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<LaunchDbSystemFromDatabaseDetails.DiskRedundancy>
- Enclosing class:
- LaunchDbSystemFromDatabaseDetails
public static enum LaunchDbSystemFromDatabaseDetails.DiskRedundancy extends Enum<LaunchDbSystemFromDatabaseDetails.DiskRedundancy> implements BmcEnum
The type of redundancy configured for the DB system.NORMAL 2-way redundancy, recommended for test and development systems. HIGH is 3-way redundancy, recommended for production systems.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchDbSystemFromDatabaseDetails.DiskRedundancy
create(String key)
String
getValue()
static LaunchDbSystemFromDatabaseDetails.DiskRedundancy
valueOf(String name)
Returns the enum constant of this type with the specified name.static LaunchDbSystemFromDatabaseDetails.DiskRedundancy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
High
public static final LaunchDbSystemFromDatabaseDetails.DiskRedundancy High
-
Normal
public static final LaunchDbSystemFromDatabaseDetails.DiskRedundancy Normal
-
-
Method Detail
-
values
public static LaunchDbSystemFromDatabaseDetails.DiskRedundancy[] 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 (LaunchDbSystemFromDatabaseDetails.DiskRedundancy c : LaunchDbSystemFromDatabaseDetails.DiskRedundancy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LaunchDbSystemFromDatabaseDetails.DiskRedundancy 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 LaunchDbSystemFromDatabaseDetails.DiskRedundancy create(String key)
-
-