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.ObjectBuilder 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 IpSecVpnPolicyTrafficStatisticsbuild()IpSecVpnPolicyTrafficStatistics.BuildersetAggregateTrafficCounters(IPSecVpnTrafficCounters aggregateTrafficCounters)IpSecVpnPolicyTrafficStatistics.BuildersetRulePath(java.lang.String rulePath)Policy path referencing the IPSec VPN Rule.IpSecVpnPolicyTrafficStatistics.BuildersetTunnelInterfacePath(java.lang.String tunnelInterfacePath)Policy path referencing the IPSec VPN Tunnel Interface.IpSecVpnPolicyTrafficStatistics.BuildersetTunnelStatistics(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)
Policy path referencing the IPSec VPN Rule. 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.
-
setTunnelInterfacePath
public IpSecVpnPolicyTrafficStatistics.Builder setTunnelInterfacePath(java.lang.String tunnelInterfacePath)
Policy path referencing the IPSec VPN Tunnel Interface. 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:
tunnelInterfacePath- 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()
-
-