Package com.vmware.nsx_policy.model
Class PolicyIpsecVpnSessionSummary.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyIpsecVpnSessionSummary.Builder
-
- Enclosing class:
- PolicyIpsecVpnSessionSummary
public static final class PolicyIpsecVpnSessionSummary.Builder extends java.lang.Object
Builder class forPolicyIpsecVpnSessionSummary
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyIpsecVpnSessionSummary
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyIpsecVpnSessionSummary
build()
PolicyIpsecVpnSessionSummary.Builder
setAggregateTrafficCounters(IPSecVPNTrafficCounters aggregateTrafficCounters)
PolicyIpsecVpnSessionSummary.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.PolicyIpsecVpnSessionSummary.Builder
setSessionSummary(IPsecVPNIKESessionSummary sessionSummary)
PolicyIpsecVpnSessionSummary.Builder
setTrafficSummaryPerSession(java.util.List<IPSecVPNSessionTrafficSummary> trafficSummaryPerSession)
Traffic summary per session.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyIpsecVpnSessionSummary
.
-
-
Method Detail
-
setAggregateTrafficCounters
public PolicyIpsecVpnSessionSummary.Builder setAggregateTrafficCounters(IPSecVPNTrafficCounters aggregateTrafficCounters)
- Parameters:
aggregateTrafficCounters
- New value for the property.
-
setLastUpdateTimestamp
public PolicyIpsecVpnSessionSummary.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.
-
setSessionSummary
public PolicyIpsecVpnSessionSummary.Builder setSessionSummary(IPsecVPNIKESessionSummary sessionSummary)
- Parameters:
sessionSummary
- New value for the property.
-
setTrafficSummaryPerSession
public PolicyIpsecVpnSessionSummary.Builder setTrafficSummaryPerSession(java.util.List<IPSecVPNSessionTrafficSummary> trafficSummaryPerSession)
Traffic summary per session.- Parameters:
trafficSummaryPerSession
- New value for the property.
-
build
public PolicyIpsecVpnSessionSummary build()
-
-