public static final class NodeInterfaceStatisticsProperties.Builder
extends java.lang.Object
NodeInterfaceStatisticsProperties.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
NodeInterfaceStatisticsProperties. |
| Modifier and Type | Method and Description |
|---|---|
NodeInterfaceStatisticsProperties |
build() |
NodeInterfaceStatisticsProperties.Builder |
setInterfaceId(java.lang.String interfaceId)
Interface ID
|
NodeInterfaceStatisticsProperties.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
NodeInterfaceStatisticsProperties.Builder |
setRxBytes(java.lang.Long rxBytes)
Number of bytes received format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setRxDropped(java.lang.Long rxDropped)
Number of packets dropped format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setRxErrors(java.lang.Long rxErrors)
Number of receive errors format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setRxFrame(java.lang.Long rxFrame)
Number of framing errors format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setRxPackets(java.lang.Long rxPackets)
Number of packets received format: int64
|
NodeInterfaceStatisticsProperties.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.
|
NodeInterfaceStatisticsProperties.Builder |
setSelf(SelfResourceLink self) |
NodeInterfaceStatisticsProperties.Builder |
setSource(java.lang.String source)
Possible values are:
NodeInterfaceStatisticsProperties.SOURCE_REALTIME
NodeInterfaceStatisticsProperties.SOURCE_CACHED
Source of status data. |
NodeInterfaceStatisticsProperties.Builder |
setTxBytes(java.lang.Long txBytes)
Number of bytes transmitted format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setTxCarrier(java.lang.Long txCarrier)
Number of carrier losses detected format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setTxColls(java.lang.Long txColls)
Number of collisions detected format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setTxDropped(java.lang.Long txDropped)
Number of packets dropped format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setTxErrors(java.lang.Long txErrors)
Number of transmit errors format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setTxPackets(java.lang.Long txPackets)
Number of packets transmitted format: int64
|
public Builder()
NodeInterfaceStatisticsProperties.public NodeInterfaceStatisticsProperties.Builder setLinks(java.util.List<ResourceLink> links)
links - New value for the property.public NodeInterfaceStatisticsProperties.Builder setSchema(java.lang.String schema)
schema - New value for the property.public NodeInterfaceStatisticsProperties.Builder setSelf(SelfResourceLink self)
self - New value for the property.public NodeInterfaceStatisticsProperties.Builder setInterfaceId(java.lang.String interfaceId)
interfaceId - New value for the property.public NodeInterfaceStatisticsProperties.Builder setRxBytes(java.lang.Long rxBytes)
rxBytes - New value for the property.public NodeInterfaceStatisticsProperties.Builder setRxDropped(java.lang.Long rxDropped)
rxDropped - New value for the property.public NodeInterfaceStatisticsProperties.Builder setRxErrors(java.lang.Long rxErrors)
rxErrors - New value for the property.public NodeInterfaceStatisticsProperties.Builder setRxFrame(java.lang.Long rxFrame)
rxFrame - New value for the property.public NodeInterfaceStatisticsProperties.Builder setRxPackets(java.lang.Long rxPackets)
rxPackets - New value for the property.public NodeInterfaceStatisticsProperties.Builder setSource(java.lang.String source)
source - New value for the property.public NodeInterfaceStatisticsProperties.Builder setTxBytes(java.lang.Long txBytes)
txBytes - New value for the property.public NodeInterfaceStatisticsProperties.Builder setTxCarrier(java.lang.Long txCarrier)
txCarrier - New value for the property.public NodeInterfaceStatisticsProperties.Builder setTxColls(java.lang.Long txColls)
txColls - New value for the property.public NodeInterfaceStatisticsProperties.Builder setTxDropped(java.lang.Long txDropped)
txDropped - New value for the property.public NodeInterfaceStatisticsProperties.Builder setTxErrors(java.lang.Long txErrors)
txErrors - New value for the property.public NodeInterfaceStatisticsProperties.Builder setTxPackets(java.lang.Long txPackets)
txPackets - New value for the property.public NodeInterfaceStatisticsProperties build()