public static class LaunchInstanceShapeConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LaunchInstanceShapeConfigDetails.Builder |
baselineOcpuUtilization(LaunchInstanceShapeConfigDetails.BaselineOcpuUtilization baselineOcpuUtilization)
The baseline OCPU utilization for a subcore burstable VM instance.
|
LaunchInstanceShapeConfigDetails |
build() |
LaunchInstanceShapeConfigDetails.Builder |
copy(LaunchInstanceShapeConfigDetails model) |
LaunchInstanceShapeConfigDetails.Builder |
memoryInGBs(Float memoryInGBs)
The total amount of memory in gigabytes that is available to the instance.
|
LaunchInstanceShapeConfigDetails.Builder |
ocpus(Float ocpus)
The total number of OCPUs available to the instance.
|
public LaunchInstanceShapeConfigDetails.Builder ocpus(Float ocpus)
The total number of OCPUs available to the instance.
ocpus
- the value to setpublic LaunchInstanceShapeConfigDetails.Builder memoryInGBs(Float memoryInGBs)
The total amount of memory in gigabytes that is available to the instance.
memoryInGBs
- the value to setpublic LaunchInstanceShapeConfigDetails.Builder baselineOcpuUtilization(LaunchInstanceShapeConfigDetails.BaselineOcpuUtilization baselineOcpuUtilization)
The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute
blank for a non-burstable instance, or explicitly specify non-burstable with 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.
baselineOcpuUtilization
- the value to setpublic LaunchInstanceShapeConfigDetails build()
public LaunchInstanceShapeConfigDetails.Builder copy(LaunchInstanceShapeConfigDetails model)
Copyright © 2016–2024. All rights reserved.