public static final class NatStatisticsPerTransportNode.Builder
extends java.lang.Object
NatStatisticsPerTransportNode
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NatStatisticsPerTransportNode . |
Modifier and Type | Method and Description |
---|---|
NatStatisticsPerTransportNode |
build() |
NatStatisticsPerTransportNode.Builder |
setActiveSessions(java.lang.Long activeSessions)
The number of active sessions 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.
|
NatStatisticsPerTransportNode.Builder |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated
the data.
|
NatStatisticsPerTransportNode.Builder |
setTotalBytes(java.lang.Long totalBytes)
The number of bytes 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.
|
NatStatisticsPerTransportNode.Builder |
setTotalPackets(java.lang.Long totalPackets)
The number of packets 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.
|
NatStatisticsPerTransportNode.Builder |
setTransportNodeId(java.lang.String transportNodeId)
Id for the transport node
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()
NatStatisticsPerTransportNode
.public NatStatisticsPerTransportNode.Builder setActiveSessions(java.lang.Long activeSessions)
activeSessions
- New value for the property.public NatStatisticsPerTransportNode.Builder setTotalBytes(java.lang.Long totalBytes)
totalBytes
- New value for the property.public NatStatisticsPerTransportNode.Builder setTotalPackets(java.lang.Long totalPackets)
totalPackets
- New value for the property.public NatStatisticsPerTransportNode.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
lastUpdateTimestamp
- New value for the property.public NatStatisticsPerTransportNode.Builder setTransportNodeId(java.lang.String transportNodeId)
transportNodeId
- New value for the property.public NatStatisticsPerTransportNode build()