Package com.oracle.bmc.datascience.model
Enum ModelDeploymentInstanceShapeConfigDetails.CpuBaseline
- java.lang.Object
-
- java.lang.Enum<ModelDeploymentInstanceShapeConfigDetails.CpuBaseline>
-
- com.oracle.bmc.datascience.model.ModelDeploymentInstanceShapeConfigDetails.CpuBaseline
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ModelDeploymentInstanceShapeConfigDetails.CpuBaseline>
- Enclosing class:
- ModelDeploymentInstanceShapeConfigDetails
public static enum ModelDeploymentInstanceShapeConfigDetails.CpuBaseline extends Enum<ModelDeploymentInstanceShapeConfigDetails.CpuBaseline> implements BmcEnum
The baseline OCPU utilization for a subcore burstable VM instance.If this attribute is left blank, it will default to BASELINE_1_1. The following values are supported: BASELINE_1_8 - baseline usage is 1/8 of an OCPU. BASELINE_1_2 - baseline usage is 1/2 of an OCPU. BASELINE_1_1 - baseline usage is an entire OCPU. This represents a non-burstable instance.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Baseline11
Baseline12
Baseline18
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 ModelDeploymentInstanceShapeConfigDetails.CpuBaseline
create(String key)
String
getValue()
static ModelDeploymentInstanceShapeConfigDetails.CpuBaseline
valueOf(String name)
Returns the enum constant of this type with the specified name.static ModelDeploymentInstanceShapeConfigDetails.CpuBaseline[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Baseline18
public static final ModelDeploymentInstanceShapeConfigDetails.CpuBaseline Baseline18
-
Baseline12
public static final ModelDeploymentInstanceShapeConfigDetails.CpuBaseline Baseline12
-
Baseline11
public static final ModelDeploymentInstanceShapeConfigDetails.CpuBaseline Baseline11
-
UnknownEnumValue
public static final ModelDeploymentInstanceShapeConfigDetails.CpuBaseline 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 ModelDeploymentInstanceShapeConfigDetails.CpuBaseline[] 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 (ModelDeploymentInstanceShapeConfigDetails.CpuBaseline c : ModelDeploymentInstanceShapeConfigDetails.CpuBaseline.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelDeploymentInstanceShapeConfigDetails.CpuBaseline 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 ModelDeploymentInstanceShapeConfigDetails.CpuBaseline create(String key)
-
-