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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
timeCollected
public HostResourceAllocation.Builder timeCollected(Date timeCollected)
-
totalCpus
public HostResourceAllocation.Builder totalCpus(Integer totalCpus)
Total number of CPUs available- Parameters:
totalCpus- the value to set- Returns:
- this builder
-
totalMemoryInGB
public HostResourceAllocation.Builder totalMemoryInGB(Double totalMemoryInGB)
Total amount of usable physical memory in gibabytes- Parameters:
totalMemoryInGB- the value to set- Returns:
- this builder
-
build
public HostResourceAllocation build()
-
copy
public HostResourceAllocation.Builder copy(HostResourceAllocation model)
-
-