public static final class PolicyNatRuleStatistics.Builder
extends java.lang.Object
PolicyNatRuleStatistics
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PolicyNatRuleStatistics . |
Modifier and Type | Method and Description |
---|---|
PolicyNatRuleStatistics |
build() |
PolicyNatRuleStatistics.Builder |
setActiveSessions(java.lang.Long activeSessions)
Gives the total number of active sessions.
|
PolicyNatRuleStatistics.Builder |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.
|
PolicyNatRuleStatistics.Builder |
setTotalBytes(java.lang.Long totalBytes)
Gives the total number of bytes.
|
PolicyNatRuleStatistics.Builder |
setTotalPackets(java.lang.Long totalPackets)
Gives the total number of packets.
|
PolicyNatRuleStatistics.Builder |
setWarningMessage(java.lang.String warningMessage)
The warning message about the NAT Rule Statistics.
|
public Builder()
PolicyNatRuleStatistics
.public PolicyNatRuleStatistics.Builder setActiveSessions(java.lang.Long activeSessions)
activeSessions
- New value for the property.public PolicyNatRuleStatistics.Builder setTotalBytes(java.lang.Long totalBytes)
totalBytes
- New value for the property.public PolicyNatRuleStatistics.Builder setTotalPackets(java.lang.Long totalPackets)
totalPackets
- New value for the property.public PolicyNatRuleStatistics.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
lastUpdateTimestamp
- New value for the property.public PolicyNatRuleStatistics.Builder setWarningMessage(java.lang.String warningMessage)
warningMessage
- New value for the property.public PolicyNatRuleStatistics build()