public static final class BridgeEndpointStatistics.Builder
extends java.lang.Object
BridgeEndpointStatistics
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
BridgeEndpointStatistics . |
Modifier and Type | Method and Description |
---|---|
BridgeEndpointStatistics |
build() |
BridgeEndpointStatistics.Builder |
setEndpointId(java.lang.String endpointId)
The id of the bridge endpoint
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
BridgeEndpointStatistics.Builder |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated
the data.
|
BridgeEndpointStatistics.Builder |
setRxBytes(DataCounter rxBytes) |
BridgeEndpointStatistics.Builder |
setRxPackets(DataCounter rxPackets) |
BridgeEndpointStatistics.Builder |
setTxBytes(DataCounter txBytes) |
BridgeEndpointStatistics.Builder |
setTxPackets(DataCounter txPackets) |
public Builder()
BridgeEndpointStatistics
.public BridgeEndpointStatistics.Builder setRxBytes(DataCounter rxBytes)
rxBytes
- New value for the property.public BridgeEndpointStatistics.Builder setRxPackets(DataCounter rxPackets)
rxPackets
- New value for the property.public BridgeEndpointStatistics.Builder setTxBytes(DataCounter txBytes)
txBytes
- New value for the property.public BridgeEndpointStatistics.Builder setTxPackets(DataCounter txPackets)
txPackets
- New value for the property.public BridgeEndpointStatistics.Builder setEndpointId(java.lang.String endpointId)
endpointId
- New value for the property.public BridgeEndpointStatistics.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
lastUpdateTimestamp
- New value for the property.public BridgeEndpointStatistics build()