Package com.oracle.bmc.opsi.model
Enum HostCpuRecommendations.Burstable
- java.lang.Object
-
- java.lang.Enum<HostCpuRecommendations.Burstable>
-
- com.oracle.bmc.opsi.model.HostCpuRecommendations.Burstable
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<HostCpuRecommendations.Burstable>
- Enclosing class:
- HostCpuRecommendations
public static enum HostCpuRecommendations.Burstable extends Enum<HostCpuRecommendations.Burstable> implements BmcEnum
Show if OPSI recommends to convert an instance to a burstable instance and show recommended cpu baseline if positive recommendation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Baseline12
Baseline18
DisableBurstable
NoRecommendation
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 HostCpuRecommendations.Burstable
create(String key)
String
getValue()
static HostCpuRecommendations.Burstable
valueOf(String name)
Returns the enum constant of this type with the specified name.static HostCpuRecommendations.Burstable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Baseline18
public static final HostCpuRecommendations.Burstable Baseline18
-
Baseline12
public static final HostCpuRecommendations.Burstable Baseline12
-
NoRecommendation
public static final HostCpuRecommendations.Burstable NoRecommendation
-
DisableBurstable
public static final HostCpuRecommendations.Burstable DisableBurstable
-
UnknownEnumValue
public static final HostCpuRecommendations.Burstable 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 HostCpuRecommendations.Burstable[] 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 (HostCpuRecommendations.Burstable c : HostCpuRecommendations.Burstable.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HostCpuRecommendations.Burstable 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 HostCpuRecommendations.Burstable create(String key)
-
-