public static class HostResourceAllocation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostResourceAllocation |
build() |
HostResourceAllocation.Builder |
copy(HostResourceAllocation model) |
HostResourceAllocation.Builder |
timeCollected(Date timeCollected) |
HostResourceAllocation.Builder |
totalCpus(Integer totalCpus)
Total number of CPUs available
|
HostResourceAllocation.Builder |
totalMemoryInGB(Double totalMemoryInGB)
Total amount of usable physical memory in gibabytes
|
public HostResourceAllocation.Builder timeCollected(Date timeCollected)
public HostResourceAllocation.Builder totalCpus(Integer totalCpus)
Total number of CPUs available
totalCpus
- the value to setpublic HostResourceAllocation.Builder totalMemoryInGB(Double totalMemoryInGB)
Total amount of usable physical memory in gibabytes
totalMemoryInGB
- the value to setpublic HostResourceAllocation build()
public HostResourceAllocation.Builder copy(HostResourceAllocation model)
Copyright © 2016–2024. All rights reserved.