Package com.oracle.bmc.mysql.model
Enum CreateDeletionPolicyDetails.FinalBackup
- java.lang.Object
-
- java.lang.Enum<CreateDeletionPolicyDetails.FinalBackup>
-
- com.oracle.bmc.mysql.model.CreateDeletionPolicyDetails.FinalBackup
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateDeletionPolicyDetails.FinalBackup>
- Enclosing class:
- CreateDeletionPolicyDetails
public static enum CreateDeletionPolicyDetails.FinalBackup extends Enum<CreateDeletionPolicyDetails.FinalBackup> implements BmcEnum
Specifies whether or not a backup is taken when the DB System is deleted.REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RequireFinalBackup
SkipFinalBackup
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDeletionPolicyDetails.FinalBackup
create(String key)
String
getValue()
static CreateDeletionPolicyDetails.FinalBackup
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateDeletionPolicyDetails.FinalBackup[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SkipFinalBackup
public static final CreateDeletionPolicyDetails.FinalBackup SkipFinalBackup
-
RequireFinalBackup
public static final CreateDeletionPolicyDetails.FinalBackup RequireFinalBackup
-
-
Method Detail
-
values
public static CreateDeletionPolicyDetails.FinalBackup[] 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 (CreateDeletionPolicyDetails.FinalBackup c : CreateDeletionPolicyDetails.FinalBackup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateDeletionPolicyDetails.FinalBackup 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 CreateDeletionPolicyDetails.FinalBackup create(String key)
-
-