Package com.oracle.bmc.mysql.model
Enum CreateBackupDetails.BackupType
- java.lang.Object
-
- java.lang.Enum<CreateBackupDetails.BackupType>
-
- com.oracle.bmc.mysql.model.CreateBackupDetails.BackupType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateBackupDetails.BackupType>
- Enclosing class:
- CreateBackupDetails
public static enum CreateBackupDetails.BackupType extends Enum<CreateBackupDetails.BackupType> implements BmcEnum
The type of backup.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Full
Incremental
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateBackupDetails.BackupType
create(String key)
String
getValue()
static CreateBackupDetails.BackupType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateBackupDetails.BackupType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Full
public static final CreateBackupDetails.BackupType Full
-
Incremental
public static final CreateBackupDetails.BackupType Incremental
-
-
Method Detail
-
values
public static CreateBackupDetails.BackupType[] 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 (CreateBackupDetails.BackupType c : CreateBackupDetails.BackupType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateBackupDetails.BackupType 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 CreateBackupDetails.BackupType create(String key)
-
-