Package com.oracle.bmc.database.model
Enum DisasterRecoveryConfiguration.DisasterRecoveryType
- java.lang.Object
-
- java.lang.Enum<DisasterRecoveryConfiguration.DisasterRecoveryType>
-
- com.oracle.bmc.database.model.DisasterRecoveryConfiguration.DisasterRecoveryType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DisasterRecoveryConfiguration.DisasterRecoveryType>
- Enclosing class:
- DisasterRecoveryConfiguration
public static enum DisasterRecoveryConfiguration.DisasterRecoveryType extends Enum<DisasterRecoveryConfiguration.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
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisasterRecoveryConfiguration.DisasterRecoveryType
create(String key)
String
getValue()
static DisasterRecoveryConfiguration.DisasterRecoveryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DisasterRecoveryConfiguration.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 DisasterRecoveryConfiguration.DisasterRecoveryType Adg
-
BackupBased
public static final DisasterRecoveryConfiguration.DisasterRecoveryType BackupBased
-
UnknownEnumValue
public static final DisasterRecoveryConfiguration.DisasterRecoveryType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static DisasterRecoveryConfiguration.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 (DisasterRecoveryConfiguration.DisasterRecoveryType c : DisasterRecoveryConfiguration.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 DisasterRecoveryConfiguration.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 DisasterRecoveryConfiguration.DisasterRecoveryType create(String key)
-
-