Package com.vmware.nsx_policy.model
Class DpuStatusProperties.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DpuStatusProperties.Builder
-
- Enclosing class:
- DpuStatusProperties
public static final class DpuStatusProperties.Builder extends java.lang.Object
Builder class forDpuStatusProperties
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDpuStatusProperties
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DpuStatusProperties
build()
DpuStatusProperties.Builder
setCpuCores(java.lang.Long cpuCores)
The number of CPU cores on the system.DpuStatusProperties.Builder
setDpuAlias(java.lang.String dpuAlias)
DPU alias 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
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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDpuStatusProperties
.
-
-
Method Detail
-
setCpuCores
public DpuStatusProperties.Builder setCpuCores(java.lang.Long cpuCores)
The number of CPU cores on the system. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
cpuCores
- New value for the property.
-
setDpuAlias
public DpuStatusProperties.Builder setDpuAlias(java.lang.String dpuAlias)
DPU alias This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
dpuAlias
- New value for the property.
-
setDpuId
public 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.- Parameters:
dpuId
- New value for the property.
-
setLoadAverage
public DpuStatusProperties.Builder setLoadAverage(java.util.List<java.lang.Double> loadAverage)
One, five, and fifteen minute load averages for the system. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
loadAverage
- New value for the property.
-
setMemCache
public DpuStatusProperties.Builder setMemCache(java.lang.Long memCache)
Amount of RAM on the system that can be flushed out to disk, in kilobytes. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
memCache
- New value for the property.
-
setMemTotal
public DpuStatusProperties.Builder setMemTotal(java.lang.Long memTotal)
System Amount of RAM allocated to the system, in kilobytes. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
memTotal
- New value for the property.
-
setMemUsed
public DpuStatusProperties.Builder setMemUsed(java.lang.Long memUsed)
Amount of RAM in use on the system, in kilobytes. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
memUsed
- New value for the property.
-
build
public DpuStatusProperties build()
-
-