Package com.oracle.bmc.database.model
Enum ConvertStandbyDatabaseTypeDetails.StandbyConversionType
- java.lang.Object
-
- java.lang.Enum<ConvertStandbyDatabaseTypeDetails.StandbyConversionType>
-
- com.oracle.bmc.database.model.ConvertStandbyDatabaseTypeDetails.StandbyConversionType
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<ConvertStandbyDatabaseTypeDetails.StandbyConversionType>
- Enclosing class:
- ConvertStandbyDatabaseTypeDetails
public static enum ConvertStandbyDatabaseTypeDetails.StandbyConversionType extends Enum<ConvertStandbyDatabaseTypeDetails.StandbyConversionType> implements BmcEnum
Defines the conversion type of the standby database.Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType: - SNAPSHOT - PHYSICAL
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConvertStandbyDatabaseTypeDetails.StandbyConversionTypecreate(String key)StringgetValue()static ConvertStandbyDatabaseTypeDetails.StandbyConversionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ConvertStandbyDatabaseTypeDetails.StandbyConversionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Snapshot
public static final ConvertStandbyDatabaseTypeDetails.StandbyConversionType Snapshot
-
Physical
public static final ConvertStandbyDatabaseTypeDetails.StandbyConversionType Physical
-
-
Method Detail
-
values
public static ConvertStandbyDatabaseTypeDetails.StandbyConversionType[] 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 (ConvertStandbyDatabaseTypeDetails.StandbyConversionType c : ConvertStandbyDatabaseTypeDetails.StandbyConversionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConvertStandbyDatabaseTypeDetails.StandbyConversionType 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 ConvertStandbyDatabaseTypeDetails.StandbyConversionType create(String key)
-
-