Package com.vmware.nsx_policy.model
Class PolicyNatRuleStatisticsPerTransportNode.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyNatRuleStatisticsPerTransportNode.Builder
-
- Enclosing class:
- PolicyNatRuleStatisticsPerTransportNode
public static final class PolicyNatRuleStatisticsPerTransportNode.Builder extends java.lang.Object
Builder class forPolicyNatRuleStatisticsPerTransportNode
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyNatRuleStatisticsPerTransportNode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyNatRuleStatisticsPerTransportNode
build()
PolicyNatRuleStatisticsPerTransportNode.Builder
setActiveSessions(java.lang.Long activeSessions)
Gives the total number of active sessions.PolicyNatRuleStatisticsPerTransportNode.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.PolicyNatRuleStatisticsPerTransportNode.Builder
setTotalBytes(java.lang.Long totalBytes)
Gives the total number of bytes.PolicyNatRuleStatisticsPerTransportNode.Builder
setTotalPackets(java.lang.Long totalPackets)
Gives the total number of packets.PolicyNatRuleStatisticsPerTransportNode.Builder
setTransportNodePath(java.lang.String transportNodePath)
Policy path of the Edge Node.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyNatRuleStatisticsPerTransportNode
.
-
-
Method Detail
-
setActiveSessions
public PolicyNatRuleStatisticsPerTransportNode.Builder setActiveSessions(java.lang.Long activeSessions)
Gives the total 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.- Parameters:
activeSessions
- New value for the property.
-
setTotalBytes
public PolicyNatRuleStatisticsPerTransportNode.Builder setTotalBytes(java.lang.Long totalBytes)
Gives the total 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.- Parameters:
totalBytes
- New value for the property.
-
setTotalPackets
public PolicyNatRuleStatisticsPerTransportNode.Builder setTotalPackets(java.lang.Long totalPackets)
Gives the total 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.- Parameters:
totalPackets
- New value for the property.
-
setLastUpdateTimestamp
public PolicyNatRuleStatisticsPerTransportNode.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated. 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.- Parameters:
lastUpdateTimestamp
- New value for the property.
-
setTransportNodePath
public PolicyNatRuleStatisticsPerTransportNode.Builder setTransportNodePath(java.lang.String transportNodePath)
Policy path of the Edge 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.- Parameters:
transportNodePath
- New value for the property.
-
build
public PolicyNatRuleStatisticsPerTransportNode build()
-
-