Package com.oracle.bmc.opsi.model
Class HostResourceAllocation.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.model.HostResourceAllocation.Builder
 
- 
- Enclosing class:
- HostResourceAllocation
 
 public static class HostResourceAllocation.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HostResourceAllocationbuild()HostResourceAllocation.Buildercopy(HostResourceAllocation model)HostResourceAllocation.BuildertimeCollected(Date timeCollected)HostResourceAllocation.BuildertotalCpus(Integer totalCpus)Total number of CPUs availableHostResourceAllocation.BuildertotalMemoryInGB(Double totalMemoryInGB)Total amount of usable physical memory in gibabytes
 
- 
- 
- 
Method Detail- 
timeCollectedpublic HostResourceAllocation.Builder timeCollected(Date timeCollected) 
 - 
totalCpuspublic HostResourceAllocation.Builder totalCpus(Integer totalCpus) Total number of CPUs available- Parameters:
- totalCpus- the value to set
- Returns:
- this builder
 
 - 
totalMemoryInGBpublic HostResourceAllocation.Builder totalMemoryInGB(Double totalMemoryInGB) Total amount of usable physical memory in gibabytes- Parameters:
- totalMemoryInGB- the value to set
- Returns:
- this builder
 
 - 
buildpublic HostResourceAllocation build() 
 - 
copypublic HostResourceAllocation.Builder copy(HostResourceAllocation model) 
 
- 
 
-