public static final class NodeStatusProperties.Builder
extends java.lang.Object
NodeStatusProperties
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NodeStatusProperties . |
Modifier and Type | Method and Description |
---|---|
NodeStatusProperties |
build() |
NodeStatusProperties.Builder |
setCpuCores(java.lang.Long cpuCores)
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.
|
NodeStatusProperties.Builder |
setCpuSockets(java.lang.Long cpuSockets)
Number of CPU sockets 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.
|
NodeStatusProperties.Builder |
setCpuUsage(CpuUsage cpuUsage) |
NodeStatusProperties.Builder |
setDiskSpaceTotal(java.lang.Long diskSpaceTotal)
Amount of disk space available on the system, in kilobytes.
|
NodeStatusProperties.Builder |
setDiskSpaceUsed(java.lang.Long diskSpaceUsed)
Amount of disk space 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.
|
NodeStatusProperties.Builder |
setDpdkCpuCores(java.lang.Long dpdkCpuCores)
Number of DPDK cores on Edge Node which are used for packet IO processing.
|
NodeStatusProperties.Builder |
setDpus(java.util.List<DpuStatusProperties> dpus)
Data processing units on 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.
|
NodeStatusProperties.Builder |
setEdgeMemUsage(EdgeTransportNodeMemoryUsage edgeMemUsage) |
NodeStatusProperties.Builder |
setFileSystems(java.util.List<NodeFileSystemProperties> fileSystems)
File systems configured on 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.
|
NodeStatusProperties.Builder |
setHostname(java.lang.String hostname)
Host name of 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.
|
NodeStatusProperties.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
NodeStatusProperties.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.
|
NodeStatusProperties.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.
|
NodeStatusProperties.Builder |
setMemTotal(java.lang.Long memTotal)
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.
|
NodeStatusProperties.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.
|
NodeStatusProperties.Builder |
setNonDpdkCpuCores(java.lang.Long nonDpdkCpuCores)
Number of non-DPDK cores on Edge Node.
|
NodeStatusProperties.Builder |
setRemoteLoggingServerConfigured(java.lang.Boolean remoteLoggingServerConfigured)
Indicates if remote logging server is configured.
|
NodeStatusProperties.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeStatusProperties.Builder |
setSelf(SelfResourceLink self) |
NodeStatusProperties.Builder |
setSource(java.lang.String source)
Possible values are:
NodeStatusProperties.SOURCE_REALTIME NodeStatusProperties.SOURCE_CACHED Source of
status data. |
NodeStatusProperties.Builder |
setSwapTotal(java.lang.Long swapTotal)
Amount of disk available for swap, 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.
|
NodeStatusProperties.Builder |
setSwapUsed(java.lang.Long swapUsed)
Amount of swap disk in use, 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.
|
NodeStatusProperties.Builder |
setSystemTime(java.lang.Long systemTime)
Current time expressed in milliseconds since epoch 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.
|
NodeStatusProperties.Builder |
setUptime(java.lang.Long uptime)
Milliseconds since system start 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.
|
public Builder()
NodeStatusProperties
.public NodeStatusProperties.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public NodeStatusProperties.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public NodeStatusProperties.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public NodeStatusProperties.Builder setCpuCores(java.lang.Long cpuCores)
cpuCores
- New value for the property.public NodeStatusProperties.Builder setCpuSockets(java.lang.Long cpuSockets)
cpuSockets
- New value for the property.public NodeStatusProperties.Builder setCpuUsage(CpuUsage cpuUsage)
cpuUsage
- New value for the property.public NodeStatusProperties.Builder setDiskSpaceTotal(java.lang.Long diskSpaceTotal)
diskSpaceTotal
- New value for the property.public NodeStatusProperties.Builder setDiskSpaceUsed(java.lang.Long diskSpaceUsed)
diskSpaceUsed
- New value for the property.public NodeStatusProperties.Builder setDpdkCpuCores(java.lang.Long dpdkCpuCores)
dpdkCpuCores
- New value for the property.public NodeStatusProperties.Builder setDpus(java.util.List<DpuStatusProperties> dpus)
dpus
- New value for the property.public NodeStatusProperties.Builder setEdgeMemUsage(EdgeTransportNodeMemoryUsage edgeMemUsage)
edgeMemUsage
- New value for the property.public NodeStatusProperties.Builder setFileSystems(java.util.List<NodeFileSystemProperties> fileSystems)
fileSystems
- New value for the property.public NodeStatusProperties.Builder setHostname(java.lang.String hostname)
hostname
- New value for the property.public NodeStatusProperties.Builder setLoadAverage(java.util.List<java.lang.Double> loadAverage)
loadAverage
- New value for the property.public NodeStatusProperties.Builder setMemCache(java.lang.Long memCache)
memCache
- New value for the property.public NodeStatusProperties.Builder setMemTotal(java.lang.Long memTotal)
memTotal
- New value for the property.public NodeStatusProperties.Builder setMemUsed(java.lang.Long memUsed)
memUsed
- New value for the property.public NodeStatusProperties.Builder setNonDpdkCpuCores(java.lang.Long nonDpdkCpuCores)
nonDpdkCpuCores
- New value for the property.public NodeStatusProperties.Builder setRemoteLoggingServerConfigured(java.lang.Boolean remoteLoggingServerConfigured)
remoteLoggingServerConfigured
- New value for the property.public NodeStatusProperties.Builder setSource(java.lang.String source)
source
- New value for the property.public NodeStatusProperties.Builder setSwapTotal(java.lang.Long swapTotal)
swapTotal
- New value for the property.public NodeStatusProperties.Builder setSwapUsed(java.lang.Long swapUsed)
swapUsed
- New value for the property.public NodeStatusProperties.Builder setSystemTime(java.lang.Long systemTime)
systemTime
- New value for the property.public NodeStatusProperties.Builder setUptime(java.lang.Long uptime)
uptime
- New value for the property.public NodeStatusProperties build()