Package com.oracle.bmc.core.model
Class CapacityBin.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CapacityBin.Builder
-
- Enclosing class:
- CapacityBin
public static class CapacityBin.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CapacityBin
build()
CapacityBin.Builder
capacityIndex(Integer capacityIndex)
Zero-based index for the corresponding capacity bucket.CapacityBin.Builder
copy(CapacityBin model)
CapacityBin.Builder
remainingMemoryInGBs(Float remainingMemoryInGBs)
The remaining memory of the capacity bucket, in GBs.CapacityBin.Builder
remainingOcpus(Float remainingOcpus)
The available OCPUs of the capacity bucket.CapacityBin.Builder
supportedShapes(List<String> supportedShapes)
List of VMI shapes supported on each capacity bucket.CapacityBin.Builder
totalMemoryInGBs(Float totalMemoryInGBs)
The total memory of the capacity bucket, in GBs.CapacityBin.Builder
totalOcpus(Float totalOcpus)
The total OCPUs of the capacity bucket.
-
-
-
Method Detail
-
capacityIndex
public CapacityBin.Builder capacityIndex(Integer capacityIndex)
Zero-based index for the corresponding capacity bucket.- Parameters:
capacityIndex
- the value to set- Returns:
- this builder
-
totalOcpus
public CapacityBin.Builder totalOcpus(Float totalOcpus)
The total OCPUs of the capacity bucket.- Parameters:
totalOcpus
- the value to set- Returns:
- this builder
-
remainingOcpus
public CapacityBin.Builder remainingOcpus(Float remainingOcpus)
The available OCPUs of the capacity bucket.- Parameters:
remainingOcpus
- the value to set- Returns:
- this builder
-
totalMemoryInGBs
public CapacityBin.Builder totalMemoryInGBs(Float totalMemoryInGBs)
The total memory of the capacity bucket, in GBs.- Parameters:
totalMemoryInGBs
- the value to set- Returns:
- this builder
-
remainingMemoryInGBs
public CapacityBin.Builder remainingMemoryInGBs(Float remainingMemoryInGBs)
The remaining memory of the capacity bucket, in GBs.- Parameters:
remainingMemoryInGBs
- the value to set- Returns:
- this builder
-
supportedShapes
public CapacityBin.Builder supportedShapes(List<String> supportedShapes)
List of VMI shapes supported on each capacity bucket.- Parameters:
supportedShapes
- the value to set- Returns:
- this builder
-
build
public CapacityBin build()
-
copy
public CapacityBin.Builder copy(CapacityBin model)
-
-