Package com.oracle.bmc.database.model
Enum LaunchDbSystemFromBackupDetails.DiskRedundancy
- java.lang.Object
-
- java.lang.Enum<LaunchDbSystemFromBackupDetails.DiskRedundancy>
-
- com.oracle.bmc.database.model.LaunchDbSystemFromBackupDetails.DiskRedundancy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<LaunchDbSystemFromBackupDetails.DiskRedundancy>
- Enclosing class:
- LaunchDbSystemFromBackupDetails
public static enum LaunchDbSystemFromBackupDetails.DiskRedundancy extends Enum<LaunchDbSystemFromBackupDetails.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 LaunchDbSystemFromBackupDetails.DiskRedundancy
create(String key)
String
getValue()
static LaunchDbSystemFromBackupDetails.DiskRedundancy
valueOf(String name)
Returns the enum constant of this type with the specified name.static LaunchDbSystemFromBackupDetails.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 LaunchDbSystemFromBackupDetails.DiskRedundancy High
-
Normal
public static final LaunchDbSystemFromBackupDetails.DiskRedundancy Normal
-
-
Method Detail
-
values
public static LaunchDbSystemFromBackupDetails.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 (LaunchDbSystemFromBackupDetails.DiskRedundancy c : LaunchDbSystemFromBackupDetails.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 LaunchDbSystemFromBackupDetails.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 LaunchDbSystemFromBackupDetails.DiskRedundancy create(String key)
-
-