public static final class NatStatisticsPerRule.Builder
extends java.lang.Object
NatStatisticsPerRule
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NatStatisticsPerRule . |
Modifier and Type | Method and Description |
---|---|
NatStatisticsPerRule |
build() |
NatStatisticsPerRule.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.
|
NatStatisticsPerRule.Builder |
setId(java.lang.String id)
The id of the NAT rule.
|
NatStatisticsPerRule.Builder |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated
the data.
|
NatStatisticsPerRule.Builder |
setLogicalRouterId(java.lang.String logicalRouterId)
The id of the logical router which owns the NAT rule.
|
NatStatisticsPerRule.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.
|
NatStatisticsPerRule.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.
|
NatStatisticsPerRule.Builder |
setWarningMessage(java.lang.String warningMessage)
The warning message about the NAT Rule statistics.
|
public Builder()
NatStatisticsPerRule
.public NatStatisticsPerRule.Builder setActiveSessions(java.lang.Long activeSessions)
activeSessions
- New value for the property.public NatStatisticsPerRule.Builder setTotalBytes(java.lang.Long totalBytes)
totalBytes
- New value for the property.public NatStatisticsPerRule.Builder setTotalPackets(java.lang.Long totalPackets)
totalPackets
- New value for the property.public NatStatisticsPerRule.Builder setId(java.lang.String id)
id
- New value for the property.public NatStatisticsPerRule.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
lastUpdateTimestamp
- New value for the property.public NatStatisticsPerRule.Builder setLogicalRouterId(java.lang.String logicalRouterId)
logicalRouterId
- New value for the property.public NatStatisticsPerRule.Builder setWarningMessage(java.lang.String warningMessage)
warningMessage
- New value for the property.public NatStatisticsPerRule build()