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