Package com.vmware.nsx_policy.model
Class IPSecVpnSessionStatusNsxt.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPSecVpnSessionStatusNsxt.Builder
-
- Enclosing class:
- IPSecVpnSessionStatusNsxt
public static final class IPSecVpnSessionStatusNsxt.Builder extends java.lang.Object
Builder class forIPSecVpnSessionStatusNsxt
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIPSecVpnSessionStatusNsxt
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPSecVpnSessionStatusNsxt
.
-
-
Method Detail
-
setAggregateTrafficCounters
public IPSecVpnSessionStatusNsxt.Builder setAggregateTrafficCounters(IPSecVpnTrafficCounters aggregateTrafficCounters)
- Parameters:
aggregateTrafficCounters
- New value for the property.
-
setDisplayName
public IPSecVpnSessionStatusNsxt.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.
-
setFailedTunnels
public IPSecVpnSessionStatusNsxt.Builder setFailedTunnels(java.lang.Long failedTunnels)
Number of failed tunnels. 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:
failedTunnels
- New value for the property.
-
setIkeStatus
public IPSecVpnSessionStatusNsxt.Builder setIkeStatus(IPSecVpnIkeSessionStatus ikeStatus)
- Parameters:
ikeStatus
- New value for the property.
-
setLastUpdateTimestamp
public IPSecVpnSessionStatusNsxt.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.
-
setNegotiatedTunnels
public IPSecVpnSessionStatusNsxt.Builder setNegotiatedTunnels(java.lang.Long negotiatedTunnels)
Number of negotiated tunnels. 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:
negotiatedTunnels
- New value for the property.
-
setRuntimeStatus
public IPSecVpnSessionStatusNsxt.Builder setRuntimeStatus(java.lang.String runtimeStatus)
Possible values are: Gives session status consolidated using IKE status and tunnel status. It can be UP, DOWN, DEGRADED. If IKE and all tunnels are UP status will be UP, if all down it will be DOWN, otherwise it will be DEGRADED. 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:
runtimeStatus
- New value for the property.
-
setTotalTunnels
public IPSecVpnSessionStatusNsxt.Builder setTotalTunnels(java.lang.Long totalTunnels)
Total number of tunnels. 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:
totalTunnels
- New value for the property.
-
setAlarm
public IPSecVpnSessionStatusNsxt.Builder setAlarm(PolicyRuntimeAlarm alarm)
- Parameters:
alarm
- New value for the property.
-
setEnforcementPointPath
public IPSecVpnSessionStatusNsxt.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 IPSecVpnSessionStatusNsxt build()
-
-