public static final class DpuStatusProperties.Builder
extends java.lang.Object
DpuStatusProperties
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
DpuStatusProperties . |
Modifier and Type | Method and Description |
---|---|
DpuStatusProperties |
build() |
DpuStatusProperties.Builder |
setCpuCores(java.lang.Long cpuCores)
The number of CPU cores on the system.
|
DpuStatusProperties.Builder |
setDpuId(java.lang.String dpuId)
Data processing unit ID
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
DpuStatusProperties.Builder |
setLoadAverage(java.util.List<java.lang.Double> loadAverage)
One, five, and fifteen minute load averages for the system.
|
DpuStatusProperties.Builder |
setMemCache(java.lang.Long memCache)
Amount of RAM on the system that can be flushed out to disk, in kilobytes.
|
DpuStatusProperties.Builder |
setMemTotal(java.lang.Long memTotal)
System Amount of RAM allocated to the system, in kilobytes.
|
DpuStatusProperties.Builder |
setMemUsed(java.lang.Long memUsed)
Amount of RAM in use on the system, in kilobytes.
|
public Builder()
DpuStatusProperties
.public DpuStatusProperties.Builder setCpuCores(java.lang.Long cpuCores)
cpuCores
- New value for the property.public DpuStatusProperties.Builder setDpuId(java.lang.String dpuId)
dpuId
- New value for the property.public DpuStatusProperties.Builder setLoadAverage(java.util.List<java.lang.Double> loadAverage)
loadAverage
- New value for the property.public DpuStatusProperties.Builder setMemCache(java.lang.Long memCache)
memCache
- New value for the property.public DpuStatusProperties.Builder setMemTotal(java.lang.Long memTotal)
memTotal
- New value for the property.public DpuStatusProperties.Builder setMemUsed(java.lang.Long memUsed)
memUsed
- New value for the property.public DpuStatusProperties build()