public static final class EntityCapacity.Builder
extends java.lang.Object
EntityCapacity
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
EntityCapacity . |
Modifier and Type | Method and Description |
---|---|
EntityCapacity |
build() |
EntityCapacity.Builder |
setCpuCapacityGhz(java.lang.Double cpuCapacityGhz)
The CPU capacity for the given entity in Ghz.
|
EntityCapacity.Builder |
setMemoryCapacityGib(java.lang.Long memoryCapacityGib)
The memory capacity for the given entity in GiB.
|
EntityCapacity.Builder |
setNumberOfSockets(java.lang.Long numberOfSockets)
The number of sockets for the given entity.
|
EntityCapacity.Builder |
setNumberOfSsds(java.lang.Long numberOfSsds)
The number of SSDs for the given entity.
|
EntityCapacity.Builder |
setStorageCapacityGib(java.lang.Long storageCapacityGib)
The storage capacity for the given entity in GiB.
|
EntityCapacity.Builder |
setTotalNumberOfCores(java.lang.Long totalNumberOfCores)
The number of CPU cores for the given entity.
|
public Builder()
EntityCapacity
.public EntityCapacity.Builder setStorageCapacityGib(java.lang.Long storageCapacityGib)
storageCapacityGib
- New value for the property.public EntityCapacity.Builder setMemoryCapacityGib(java.lang.Long memoryCapacityGib)
memoryCapacityGib
- New value for the property.public EntityCapacity.Builder setTotalNumberOfCores(java.lang.Long totalNumberOfCores)
totalNumberOfCores
- New value for the property.public EntityCapacity.Builder setNumberOfSsds(java.lang.Long numberOfSsds)
numberOfSsds
- New value for the property.public EntityCapacity.Builder setCpuCapacityGhz(java.lang.Double cpuCapacityGhz)
cpuCapacityGhz
- New value for the property.public EntityCapacity.Builder setNumberOfSockets(java.lang.Long numberOfSockets)
numberOfSockets
- New value for the property.public EntityCapacity build()