Package com.oracle.bmc.core.model
Enum RecycleDetails.RecycleLevel
- java.lang.Object
-
- java.lang.Enum<RecycleDetails.RecycleLevel>
-
- com.oracle.bmc.core.model.RecycleDetails.RecycleLevel
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<RecycleDetails.RecycleLevel>
- Enclosing class:
- RecycleDetails
public static enum RecycleDetails.RecycleLevel extends Enum<RecycleDetails.RecycleLevel> implements BmcEnum
Preferred recycle level for hosts associated with the reservation config.SKIP_RECYCLE - Skips host wipe. * FULL_RECYCLE - Does not skip host wipe. This is the default behavior.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FullRecycleSkipRecycleUnknownEnumValueThis 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 RecycleDetails.RecycleLevelcreate(String key)StringgetValue()static RecycleDetails.RecycleLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static RecycleDetails.RecycleLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SkipRecycle
public static final RecycleDetails.RecycleLevel SkipRecycle
-
FullRecycle
public static final RecycleDetails.RecycleLevel FullRecycle
-
UnknownEnumValue
public static final RecycleDetails.RecycleLevel 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 RecycleDetails.RecycleLevel[] 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 (RecycleDetails.RecycleLevel c : RecycleDetails.RecycleLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecycleDetails.RecycleLevel 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 RecycleDetails.RecycleLevel create(String key)
-
-