Package com.oracle.bmc.recovery.model
Enum DeletionSchedule
- java.lang.Object
-
- java.lang.Enum<DeletionSchedule>
-
- com.oracle.bmc.recovery.model.DeletionSchedule
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DeletionSchedule>
@Generated(value="OracleSDKGenerator", comments="API Version: 20210216") public enum DeletionSchedule extends Enum<DeletionSchedule> implements BmcEnum
The preferred schedule to delete a protected database and its backups after you terminate the source database - * If you do not specify a value, then Recovery Service schedules to delete the protected database 72 hours (3 days) after the database is terminated.- If you set the option as DELETE_AFTER_RETENTION_PERIOD, then Recovery Service schedules to delete the protected database after the backup retention period expires.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DeleteAfter72Hours
DeleteAfterRetentionPeriod
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeletionSchedule
create(String key)
String
getValue()
static DeletionSchedule
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeletionSchedule[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DeleteAfterRetentionPeriod
public static final DeletionSchedule DeleteAfterRetentionPeriod
-
DeleteAfter72Hours
public static final DeletionSchedule DeleteAfter72Hours
-
-
Method Detail
-
values
public static DeletionSchedule[] 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 (DeletionSchedule c : DeletionSchedule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeletionSchedule 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 DeletionSchedule create(String key)
-
-