Package com.oracle.bmc.desktops.model
Class DesktopPoolShapeConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.model.DesktopPoolShapeConfig.Builder
-
- Enclosing class:
- DesktopPoolShapeConfig
public static class DesktopPoolShapeConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DesktopPoolShapeConfig.Builder
baselineOcpuUtilization(DesktopPoolShapeConfig.BaselineOcpuUtilization baselineOcpuUtilization)
The baseline OCPU utilization for a subcore burstable VM instance used for each desktop compute instance in the desktop pool.DesktopPoolShapeConfig
build()
DesktopPoolShapeConfig.Builder
copy(DesktopPoolShapeConfig model)
DesktopPoolShapeConfig.Builder
memoryInGBs(Long memoryInGBs)
The total amount of memory available in gigabytes for each desktop compute instance in the desktop pool.DesktopPoolShapeConfig.Builder
ocpus(Long ocpus)
The total number of OCPUs available for each desktop compute instance in the desktop pool.
-
-
-
Method Detail
-
ocpus
public DesktopPoolShapeConfig.Builder ocpus(Long ocpus)
The total number of OCPUs available for each desktop compute instance in the desktop pool.- Parameters:
ocpus
- the value to set- Returns:
- this builder
-
memoryInGBs
public DesktopPoolShapeConfig.Builder memoryInGBs(Long memoryInGBs)
The total amount of memory available in gigabytes for each desktop compute instance in the desktop pool.- Parameters:
memoryInGBs
- the value to set- Returns:
- this builder
-
baselineOcpuUtilization
public DesktopPoolShapeConfig.Builder baselineOcpuUtilization(DesktopPoolShapeConfig.BaselineOcpuUtilization baselineOcpuUtilization)
The baseline OCPU utilization for a subcore burstable VM instance used for each desktop compute instance in the desktop pool.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 the entire OCPU. This represents a non-burstable instance.
- Parameters:
baselineOcpuUtilization
- the value to set- Returns:
- this builder
-
build
public DesktopPoolShapeConfig build()
-
copy
public DesktopPoolShapeConfig.Builder copy(DesktopPoolShapeConfig model)
-
-