Package com.oracle.bmc.database.model
Enum DbBackupConfig.AutoBackupWindow
- java.lang.Object
-
- java.lang.Enum<DbBackupConfig.AutoBackupWindow>
-
- com.oracle.bmc.database.model.DbBackupConfig.AutoBackupWindow
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DbBackupConfig.AutoBackupWindow>
- Enclosing class:
- DbBackupConfig
public static enum DbBackupConfig.AutoBackupWindow extends Enum<DbBackupConfig.AutoBackupWindow> implements BmcEnum
Time window selected for initiating automatic backup for the database system.There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive).
Example: SLOT_TWO
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SlotEight
SlotEleven
SlotFive
SlotFour
SlotNine
SlotOne
SlotSeven
SlotSix
SlotTen
SlotThree
SlotTwelve
SlotTwo
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 DbBackupConfig.AutoBackupWindow
create(String key)
String
getValue()
static DbBackupConfig.AutoBackupWindow
valueOf(String name)
Returns the enum constant of this type with the specified name.static DbBackupConfig.AutoBackupWindow[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SlotOne
public static final DbBackupConfig.AutoBackupWindow SlotOne
-
SlotTwo
public static final DbBackupConfig.AutoBackupWindow SlotTwo
-
SlotThree
public static final DbBackupConfig.AutoBackupWindow SlotThree
-
SlotFour
public static final DbBackupConfig.AutoBackupWindow SlotFour
-
SlotFive
public static final DbBackupConfig.AutoBackupWindow SlotFive
-
SlotSix
public static final DbBackupConfig.AutoBackupWindow SlotSix
-
SlotSeven
public static final DbBackupConfig.AutoBackupWindow SlotSeven
-
SlotEight
public static final DbBackupConfig.AutoBackupWindow SlotEight
-
SlotNine
public static final DbBackupConfig.AutoBackupWindow SlotNine
-
SlotTen
public static final DbBackupConfig.AutoBackupWindow SlotTen
-
SlotEleven
public static final DbBackupConfig.AutoBackupWindow SlotEleven
-
SlotTwelve
public static final DbBackupConfig.AutoBackupWindow SlotTwelve
-
UnknownEnumValue
public static final DbBackupConfig.AutoBackupWindow 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 DbBackupConfig.AutoBackupWindow[] 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 (DbBackupConfig.AutoBackupWindow c : DbBackupConfig.AutoBackupWindow.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DbBackupConfig.AutoBackupWindow 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 DbBackupConfig.AutoBackupWindow create(String key)
-
-