Package com.oracle.bmc.database.model
Enum ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType
- java.lang.Object
-
- java.lang.Enum<ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType>
-
- com.oracle.bmc.database.model.ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType>
- Enclosing class:
- ChangeDisasterRecoveryConfigurationDetails
public static enum ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType extends Enum<ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType> implements BmcEnum
Indicates the disaster recovery (DR) type of the Autonomous Database Serverless instance.Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Adg
BackupBased
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType
create(String key)
String
getValue()
static ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Adg
public static final ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType Adg
-
BackupBased
public static final ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType BackupBased
-
-
Method Detail
-
values
public static ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType[] 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 (ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType c : ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType 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 ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType create(String key)
-
-