public final class NodeStatusProperties
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
NodeStatusProperties.Builder
Builder class for
NodeStatusProperties . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
SOURCE_CACHED |
static java.lang.String |
SOURCE_REALTIME |
Modifier | Constructor and Description |
---|---|
|
NodeStatusProperties()
Default constructor.
|
protected |
NodeStatusProperties(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static NodeStatusProperties |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static NodeStatusProperties |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getCpuCores()
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.
|
java.lang.Long |
getCpuSockets()
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.
|
CpuUsage |
getCpuUsage() |
java.lang.Long |
getDiskSpaceTotal()
Amount of disk space available on the system, in kilobytes.
|
java.lang.Long |
getDiskSpaceUsed()
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.
|
java.lang.Long |
getDpdkCpuCores()
Number of DPDK cores on Edge Node which are used for packet IO processing.
|
java.util.List<DpuStatusProperties> |
getDpus()
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.
|
EdgeTransportNodeMemoryUsage |
getEdgeMemUsage() |
java.util.List<NodeFileSystemProperties> |
getFileSystems()
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.
|
java.lang.String |
getHostname()
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.
|
java.util.List<ResourceLink> |
getLinks()
The server will populate this field when returing the resource.
|
java.util.List<java.lang.Double> |
getLoadAverage()
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.
|
java.lang.Long |
getMemCache()
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.
|
java.lang.Long |
getMemTotal()
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.
|
java.lang.Long |
getMemUsed()
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.
|
java.lang.Long |
getNonDpdkCpuCores()
Number of non-DPDK cores on Edge Node.
|
java.lang.Boolean |
getRemoteLoggingServerConfigured()
Indicates if remote logging server is configured.
|
java.lang.String |
getSchema()
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.
|
SelfResourceLink |
getSelf() |
java.lang.String |
getSource()
Possible values are:
SOURCE_REALTIME SOURCE_CACHED Source of
status data. |
java.lang.Long |
getSwapTotal()
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.
|
java.lang.Long |
getSwapUsed()
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.
|
java.lang.Long |
getSystemTime()
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.
|
java.lang.Long |
getUptime()
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.
|
int |
hashCode() |
void |
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.
|
void |
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.
|
void |
setCpuUsage(CpuUsage cpuUsage) |
void |
setDiskSpaceTotal(java.lang.Long diskSpaceTotal)
Amount of disk space available on the system, in kilobytes.
|
void |
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.
|
void |
setDpdkCpuCores(java.lang.Long dpdkCpuCores)
Number of DPDK cores on Edge Node which are used for packet IO processing.
|
void |
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.
|
void |
setEdgeMemUsage(EdgeTransportNodeMemoryUsage edgeMemUsage) |
void |
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.
|
void |
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.
|
void |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
void |
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.
|
void |
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.
|
void |
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.
|
void |
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.
|
void |
setNonDpdkCpuCores(java.lang.Long nonDpdkCpuCores)
Number of non-DPDK cores on Edge Node.
|
void |
setRemoteLoggingServerConfigured(java.lang.Boolean remoteLoggingServerConfigured)
Indicates if remote logging server is configured.
|
void |
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.
|
void |
setSelf(SelfResourceLink self) |
void |
setSource(java.lang.String source)
Possible values are:
SOURCE_REALTIME SOURCE_CACHED Source of
status data. |
void |
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.
|
void |
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.
|
void |
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.
|
void |
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.
|
java.lang.String |
toString() |
public static final java.lang.String SOURCE_REALTIME
public static final java.lang.String SOURCE_CACHED
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public NodeStatusProperties()
protected NodeStatusProperties(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.util.List<ResourceLink> getLinks()
public void setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public java.lang.String getSchema()
public void setSchema(java.lang.String schema)
schema
- New value for the property.public SelfResourceLink getSelf()
public void setSelf(SelfResourceLink self)
self
- New value for the property.public java.lang.Long getCpuCores()
public void setCpuCores(java.lang.Long cpuCores)
cpuCores
- New value for the property.public java.lang.Long getCpuSockets()
public void setCpuSockets(java.lang.Long cpuSockets)
cpuSockets
- New value for the property.public CpuUsage getCpuUsage()
public void setCpuUsage(CpuUsage cpuUsage)
cpuUsage
- New value for the property.public java.lang.Long getDiskSpaceTotal()
public void setDiskSpaceTotal(java.lang.Long diskSpaceTotal)
diskSpaceTotal
- New value for the property.public java.lang.Long getDiskSpaceUsed()
public void setDiskSpaceUsed(java.lang.Long diskSpaceUsed)
diskSpaceUsed
- New value for the property.public java.lang.Long getDpdkCpuCores()
public void setDpdkCpuCores(java.lang.Long dpdkCpuCores)
dpdkCpuCores
- New value for the property.public java.util.List<DpuStatusProperties> getDpus()
public void setDpus(java.util.List<DpuStatusProperties> dpus)
dpus
- New value for the property.public EdgeTransportNodeMemoryUsage getEdgeMemUsage()
public void setEdgeMemUsage(EdgeTransportNodeMemoryUsage edgeMemUsage)
edgeMemUsage
- New value for the property.public java.util.List<NodeFileSystemProperties> getFileSystems()
public void setFileSystems(java.util.List<NodeFileSystemProperties> fileSystems)
fileSystems
- New value for the property.public java.lang.String getHostname()
public void setHostname(java.lang.String hostname)
hostname
- New value for the property.public java.util.List<java.lang.Double> getLoadAverage()
public void setLoadAverage(java.util.List<java.lang.Double> loadAverage)
loadAverage
- New value for the property.public java.lang.Long getMemCache()
public void setMemCache(java.lang.Long memCache)
memCache
- New value for the property.public java.lang.Long getMemTotal()
public void setMemTotal(java.lang.Long memTotal)
memTotal
- New value for the property.public java.lang.Long getMemUsed()
public void setMemUsed(java.lang.Long memUsed)
memUsed
- New value for the property.public java.lang.Long getNonDpdkCpuCores()
public void setNonDpdkCpuCores(java.lang.Long nonDpdkCpuCores)
nonDpdkCpuCores
- New value for the property.public java.lang.Boolean getRemoteLoggingServerConfigured()
public void setRemoteLoggingServerConfigured(java.lang.Boolean remoteLoggingServerConfigured)
remoteLoggingServerConfigured
- New value for the property.public java.lang.String getSource()
public void setSource(java.lang.String source)
source
- New value for the property.public java.lang.Long getSwapTotal()
public void setSwapTotal(java.lang.Long swapTotal)
swapTotal
- New value for the property.public java.lang.Long getSwapUsed()
public void setSwapUsed(java.lang.Long swapUsed)
swapUsed
- New value for the property.public java.lang.Long getSystemTime()
public void setSystemTime(java.lang.Long systemTime)
systemTime
- New value for the property.public java.lang.Long getUptime()
public void setUptime(java.lang.Long uptime)
uptime
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static NodeStatusProperties _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static NodeStatusProperties _newInstance2(com.vmware.vapi.data.StructValue structValue)