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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CapacityBinbuild()CapacityBin.BuildercapacityIndex(Integer capacityIndex)Zero-based index for the corresponding capacity bucket.CapacityBin.Buildercopy(CapacityBin model)CapacityBin.BuilderremainingMemoryInGBs(Float remainingMemoryInGBs)The remaining memory of the capacity bucket, in GBs.CapacityBin.BuilderremainingOcpus(Float remainingOcpus)The available OCPUs of the capacity bucket.CapacityBin.BuildersupportedShapes(List<String> supportedShapes)List of VMI shapes supported on each capacity bucket.CapacityBin.BuildertotalMemoryInGBs(Float totalMemoryInGBs)The total memory of the capacity bucket, in GBs.CapacityBin.BuildertotalOcpus(Float totalOcpus)The total OCPUs of the capacity bucket.
 
- 
- 
- 
Method Detail- 
capacityIndexpublic CapacityBin.Builder capacityIndex(Integer capacityIndex) Zero-based index for the corresponding capacity bucket.- Parameters:
- capacityIndex- the value to set
- Returns:
- this builder
 
 - 
totalOcpuspublic CapacityBin.Builder totalOcpus(Float totalOcpus) The total OCPUs of the capacity bucket.- Parameters:
- totalOcpus- the value to set
- Returns:
- this builder
 
 - 
remainingOcpuspublic CapacityBin.Builder remainingOcpus(Float remainingOcpus) The available OCPUs of the capacity bucket.- Parameters:
- remainingOcpus- the value to set
- Returns:
- this builder
 
 - 
totalMemoryInGBspublic CapacityBin.Builder totalMemoryInGBs(Float totalMemoryInGBs) The total memory of the capacity bucket, in GBs.- Parameters:
- totalMemoryInGBs- the value to set
- Returns:
- this builder
 
 - 
remainingMemoryInGBspublic CapacityBin.Builder remainingMemoryInGBs(Float remainingMemoryInGBs) The remaining memory of the capacity bucket, in GBs.- Parameters:
- remainingMemoryInGBs- the value to set
- Returns:
- this builder
 
 - 
supportedShapespublic CapacityBin.Builder supportedShapes(List<String> supportedShapes) List of VMI shapes supported on each capacity bucket.- Parameters:
- supportedShapes- the value to set
- Returns:
- this builder
 
 - 
buildpublic CapacityBin build() 
 - 
copypublic CapacityBin.Builder copy(CapacityBin model) 
 
- 
 
-