Package com.oracle.bmc.datascience.model
Enum NotebookSessionShapeConfigDetails.CpuBaseline
- java.lang.Object
-
- java.lang.Enum<NotebookSessionShapeConfigDetails.CpuBaseline>
-
- com.oracle.bmc.datascience.model.NotebookSessionShapeConfigDetails.CpuBaseline
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<NotebookSessionShapeConfigDetails.CpuBaseline>
- Enclosing class:
- NotebookSessionShapeConfigDetails
public static enum NotebookSessionShapeConfigDetails.CpuBaseline extends Enum<NotebookSessionShapeConfigDetails.CpuBaseline> implements BmcEnum
The baseline OCPU utilization for a subcore burstable VM instance.If this attribute is left bank, 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 NotebookSessionShapeConfigDetails.CpuBaseline
create(String key)
String
getValue()
static NotebookSessionShapeConfigDetails.CpuBaseline
valueOf(String name)
Returns the enum constant of this type with the specified name.static NotebookSessionShapeConfigDetails.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 NotebookSessionShapeConfigDetails.CpuBaseline Baseline18
-
Baseline12
public static final NotebookSessionShapeConfigDetails.CpuBaseline Baseline12
-
Baseline11
public static final NotebookSessionShapeConfigDetails.CpuBaseline Baseline11
-
UnknownEnumValue
public static final NotebookSessionShapeConfigDetails.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 NotebookSessionShapeConfigDetails.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 (NotebookSessionShapeConfigDetails.CpuBaseline c : NotebookSessionShapeConfigDetails.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 NotebookSessionShapeConfigDetails.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 NotebookSessionShapeConfigDetails.CpuBaseline create(String key)
-
-