public static class InstanceConfigurationLaunchInstanceShapeConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public InstanceConfigurationLaunchInstanceShapeConfigDetails.Builder ocpus(Float ocpus)
The total number of OCPUs available to the instance.
ocpus
- the value to setpublic InstanceConfigurationLaunchInstanceShapeConfigDetails.Builder vcpus(Integer vcpus)
The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
vcpus
- the value to setpublic InstanceConfigurationLaunchInstanceShapeConfigDetails.Builder memoryInGBs(Float memoryInGBs)
The total amount of memory available to the instance, in gigabytes.
memoryInGBs
- the value to setpublic InstanceConfigurationLaunchInstanceShapeConfigDetails.Builder baselineOcpuUtilization(InstanceConfigurationLaunchInstanceShapeConfigDetails.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 InstanceConfigurationLaunchInstanceShapeConfigDetails.Builder nvmes(Integer nvmes)
The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
nvmes
- the value to setpublic InstanceConfigurationLaunchInstanceShapeConfigDetails build()
Copyright © 2016–2024. All rights reserved.