Package com.vmware.nsx_policy.model
Class IPSecVpnSessionStatisticsNsxt.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPSecVpnSessionStatisticsNsxt.Builder
-
- Enclosing class:
- IPSecVpnSessionStatisticsNsxt
public static final class IPSecVpnSessionStatisticsNsxt.Builder extends java.lang.Object
Builder class forIPSecVpnSessionStatisticsNsxt
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIPSecVpnSessionStatisticsNsxt
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPSecVpnSessionStatisticsNsxt
.
-
-
Method Detail
-
setAggregateTrafficCounters
public IPSecVpnSessionStatisticsNsxt.Builder setAggregateTrafficCounters(IPSecVpnTrafficCounters aggregateTrafficCounters)
- Parameters:
aggregateTrafficCounters
- New value for the property.
-
setDisplayName
public IPSecVpnSessionStatisticsNsxt.Builder setDisplayName(java.lang.String displayName)
Display Name of vpn session. 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:
displayName
- New value for the property.
-
setIkeStatus
public IPSecVpnSessionStatisticsNsxt.Builder setIkeStatus(IPSecVpnIkeSessionStatus ikeStatus)
- Parameters:
ikeStatus
- New value for the property.
-
setIkeTrafficStatistics
public IPSecVpnSessionStatisticsNsxt.Builder setIkeTrafficStatistics(IPSecVpnIkeTrafficStatistics ikeTrafficStatistics)
- Parameters:
ikeTrafficStatistics
- New value for the property.
-
setLastUpdateTimestamp
public IPSecVpnSessionStatisticsNsxt.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 IPSecVpnSessionStatisticsNsxt.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.
-
setAlarm
public IPSecVpnSessionStatisticsNsxt.Builder setAlarm(PolicyRuntimeAlarm alarm)
- Parameters:
alarm
- New value for the property.
-
setEnforcementPointPath
public IPSecVpnSessionStatisticsNsxt.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is 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 IPSecVpnSessionStatisticsNsxt build()
-
-