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.ObjectBuilder 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 PolicyNatRuleStatisticsPerTransportNodebuild()PolicyNatRuleStatisticsPerTransportNode.BuildersetActiveSessions(java.lang.Long activeSessions)Gives the total number of active sessions.PolicyNatRuleStatisticsPerTransportNode.BuildersetLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)Timestamp when the data was last updated.PolicyNatRuleStatisticsPerTransportNode.BuildersetTotalBytes(java.lang.Long totalBytes)Gives the total number of bytes.PolicyNatRuleStatisticsPerTransportNode.BuildersetTotalPackets(java.lang.Long totalPackets)Gives the total number of packets.PolicyNatRuleStatisticsPerTransportNode.BuildersetTransportNodePath(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()
-
-