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 BmcEnumThe 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 SummaryEnum Constants Enum Constant Description DeleteAfter72HoursDeleteAfterRetentionPeriod
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeletionSchedulecreate(String key)StringgetValue()static DeletionSchedulevalueOf(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- 
DeleteAfterRetentionPeriodpublic static final DeletionSchedule DeleteAfterRetentionPeriod 
 - 
DeleteAfter72Hourspublic static final DeletionSchedule DeleteAfter72Hours 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static DeletionSchedule create(String key) 
 
- 
 
-