Package com.vmware.nsx_policy.model
Class IPSecVpnPolicyTrafficStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPSecVpnPolicyTrafficStatistics.Builder
-
- Enclosing class:
- IPSecVpnPolicyTrafficStatistics
public static final class IPSecVpnPolicyTrafficStatistics.Builder extends java.lang.Object
Builder class forIPSecVpnPolicyTrafficStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIPSecVpnPolicyTrafficStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPSecVpnPolicyTrafficStatistics
build()
IPSecVpnPolicyTrafficStatistics.Builder
setAggregateTrafficCounters(IPSecVpnTrafficCounters aggregateTrafficCounters)
IPSecVpnPolicyTrafficStatistics.Builder
setRulePath(java.lang.String rulePath)
L3Vpn rule path.IPSecVpnPolicyTrafficStatistics.Builder
setTunnelStatistics(java.util.List<IPSecVpnTunnelTrafficStatistics> tunnelStatistics)
Tunnel statistics.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPSecVpnPolicyTrafficStatistics
.
-
-
Method Detail
-
setAggregateTrafficCounters
public IPSecVpnPolicyTrafficStatistics.Builder setAggregateTrafficCounters(IPSecVpnTrafficCounters aggregateTrafficCounters)
- Parameters:
aggregateTrafficCounters
- New value for the property.
-
setRulePath
public IPSecVpnPolicyTrafficStatistics.Builder setRulePath(java.lang.String rulePath)
L3Vpn rule path. 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:
rulePath
- New value for the property.
-
setTunnelStatistics
public IPSecVpnPolicyTrafficStatistics.Builder setTunnelStatistics(java.util.List<IPSecVpnTunnelTrafficStatistics> tunnelStatistics)
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:
tunnelStatistics
- New value for the property.
-
build
public IPSecVpnPolicyTrafficStatistics build()
-
-