Package com.oracle.bmc.core.model
Enum VolumeBackup.SourceType
- java.lang.Object
-
- java.lang.Enum<VolumeBackup.SourceType>
-
- com.oracle.bmc.core.model.VolumeBackup.SourceType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<VolumeBackup.SourceType>
- Enclosing class:
- VolumeBackup
public static enum VolumeBackup.SourceType extends Enum<VolumeBackup.SourceType> implements BmcEnum
Specifies whether the backup was created manually, or via scheduled backup policy.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Manual
Scheduled
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 VolumeBackup.SourceType
create(String key)
String
getValue()
static VolumeBackup.SourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VolumeBackup.SourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Manual
public static final VolumeBackup.SourceType Manual
-
Scheduled
public static final VolumeBackup.SourceType Scheduled
-
UnknownEnumValue
public static final VolumeBackup.SourceType 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 VolumeBackup.SourceType[] 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 (VolumeBackup.SourceType c : VolumeBackup.SourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VolumeBackup.SourceType 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 VolumeBackup.SourceType create(String key)
-
-