Package com.vmware.nsx_policy.model
Class IPSecVpnSessionStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPSecVpnSessionStatistics.Builder
-
- Enclosing class:
- IPSecVpnSessionStatistics
public static final class IPSecVpnSessionStatistics.Builder extends java.lang.Object
Builder class forIPSecVpnSessionStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIPSecVpnSessionStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPSecVpnSessionStatistics
build()
IPSecVpnSessionStatistics.Builder
setAggregateTrafficCounters(IPSecVpnTrafficCounters aggregateTrafficCounters)
IPSecVpnSessionStatistics.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point wehere the statistics are fetched.IPSecVpnSessionStatistics.Builder
setIkeStatus(IPSecVpnIkeSessionStatus ikeStatus)
IPSecVpnSessionStatistics.Builder
setIkeTrafficStatistics(IPSecVpnIkeTrafficStatistics ikeTrafficStatistics)
IPSecVpnSessionStatistics.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.IPSecVpnSessionStatistics.Builder
setPolicyStatistics(java.util.List<IPSecVpnPolicyTrafficStatistics> policyStatistics)
Gives aggregate traffic statistics across all ipsec tunnels and individual tunnel statistics.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPSecVpnSessionStatistics
.
-
-
Method Detail
-
setAggregateTrafficCounters
public IPSecVpnSessionStatistics.Builder setAggregateTrafficCounters(IPSecVpnTrafficCounters aggregateTrafficCounters)
- Parameters:
aggregateTrafficCounters
- New value for the property.
-
setIkeStatus
public IPSecVpnSessionStatistics.Builder setIkeStatus(IPSecVpnIkeSessionStatus ikeStatus)
- Parameters:
ikeStatus
- New value for the property.
-
setIkeTrafficStatistics
public IPSecVpnSessionStatistics.Builder setIkeTrafficStatistics(IPSecVpnIkeTrafficStatistics ikeTrafficStatistics)
- Parameters:
ikeTrafficStatistics
- New value for the property.
-
setLastUpdateTimestamp
public IPSecVpnSessionStatistics.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.
-
setPolicyStatistics
public IPSecVpnSessionStatistics.Builder setPolicyStatistics(java.util.List<IPSecVpnPolicyTrafficStatistics> policyStatistics)
Gives aggregate traffic statistics across all ipsec tunnels and individual tunnel statistics. 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:
policyStatistics
- New value for the property.
-
setEnforcementPointPath
public IPSecVpnSessionStatistics.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point wehere the statistics are fetched. 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:
enforcementPointPath
- New value for the property.
-
build
public IPSecVpnSessionStatistics build()
-
-