public static final class NatCounters.Builder
extends java.lang.Object
NatCounters
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NatCounters . |
Modifier and Type | Method and Description |
---|---|
NatCounters |
build() |
NatCounters.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.
|
NatCounters.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.
|
NatCounters.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.
|
public Builder()
NatCounters
.public NatCounters.Builder setActiveSessions(java.lang.Long activeSessions)
activeSessions
- New value for the property.public NatCounters.Builder setTotalBytes(java.lang.Long totalBytes)
totalBytes
- New value for the property.public NatCounters.Builder setTotalPackets(java.lang.Long totalPackets)
totalPackets
- New value for the property.public NatCounters build()