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)
Total bytes received since the uptime format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setRxDropNoMatch(java.lang.Long rxDropNoMatch) |
NodeInterfaceStatisticsProperties.Builder |
setRxDropped(java.lang.Long rxDropped)
Total packets dropped since the uptime format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setRxErrors(java.lang.Long rxErrors)
Total receive error packets since the uptime format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setRxFrame(java.lang.Long rxFrame)
Total framing error packets since the uptime.
|
NodeInterfaceStatisticsProperties.Builder |
setRxMisses(java.lang.Long rxMisses)
Total packets missed while receive since the uptime.
|
NodeInterfaceStatisticsProperties.Builder |
setRxNombufs(java.lang.Long rxNombufs)
Total packets dropped due to MBUF Alloc failures since the uptime.
|
NodeInterfaceStatisticsProperties.Builder |
setRxPackets(java.lang.Long rxPackets)
Total packets received since the uptime 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)
Total bytes transmitted since the uptime format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setTxCarrier(java.lang.Long txCarrier)
Total packets for carrier losses detected on transmit.
|
NodeInterfaceStatisticsProperties.Builder |
setTxColls(java.lang.Long txColls)
Total packets for collisions detected on transmit.
|
NodeInterfaceStatisticsProperties.Builder |
setTxDropped(java.lang.Long txDropped)
Total packets dropped on transmit since the uptime format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setTxDrops(java.lang.Long txDrops)
Total packets dropped on transmit since the uptime.
|
NodeInterfaceStatisticsProperties.Builder |
setTxErrors(java.lang.Long txErrors)
Total packets for transmit errors since the uptime format: int64
|
NodeInterfaceStatisticsProperties.Builder |
setTxPackets(java.lang.Long txPackets)
Total packets transmitted since the uptime 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 setRxDropNoMatch(java.lang.Long rxDropNoMatch)
rxDropNoMatch
- 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 setRxMisses(java.lang.Long rxMisses)
rxMisses
- New value for the property.public NodeInterfaceStatisticsProperties.Builder setRxNombufs(java.lang.Long rxNombufs)
rxNombufs
- 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 setTxDrops(java.lang.Long txDrops)
txDrops
- 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()