Package com.vmware.nsx_policy.model
Class L2VPNSessionStatusNsxt.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VPNSessionStatusNsxt.Builder
-
- Enclosing class:
- L2VPNSessionStatusNsxt
public static final class L2VPNSessionStatusNsxt.Builder extends java.lang.Object
Builder class forL2VPNSessionStatusNsxt
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofL2VPNSessionStatusNsxt
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VPNSessionStatusNsxt
build()
L2VPNSessionStatusNsxt.Builder
setAlarm(PolicyRuntimeAlarm alarm)
L2VPNSessionStatusNsxt.Builder
setDisplayName(java.lang.String displayName)
Display name of l2vpn session.L2VPNSessionStatusNsxt.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.L2VPNSessionStatusNsxt.Builder
setRuntimeStatus(java.lang.String runtimeStatus)
Possible values are:L2VPNSessionStatusNsxt.RUNTIME_STATUS_UP
L2VPNSessionStatusNsxt.RUNTIME_STATUS_DOWN
L2 VPN session status, specifies UP/DOWN.L2VPNSessionStatusNsxt.Builder
setTransportTunnels(java.util.List<com.vmware.vapi.bindings.Structure> transportTunnels)
Transport tunnels status.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL2VPNSessionStatusNsxt
.
-
-
Method Detail
-
setDisplayName
public L2VPNSessionStatusNsxt.Builder setDisplayName(java.lang.String displayName)
Display name of l2vpn 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.
-
setRuntimeStatus
public L2VPNSessionStatusNsxt.Builder setRuntimeStatus(java.lang.String runtimeStatus)
Possible values are: L2 VPN session status, specifies UP/DOWN. 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.
-
setTransportTunnels
public L2VPNSessionStatusNsxt.Builder setTransportTunnels(java.util.List<com.vmware.vapi.bindings.Structure> transportTunnels)
Transport tunnels status. 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:
transportTunnels
- New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined inL2VPNSessionTransportTunnelStatus
. When methods return a value of this class as a return value, the property will contain all the properties defined inL2VPNSessionTransportTunnelStatus
.
-
setAlarm
public L2VPNSessionStatusNsxt.Builder setAlarm(PolicyRuntimeAlarm alarm)
- Parameters:
alarm
- New value for the property.
-
setEnforcementPointPath
public L2VPNSessionStatusNsxt.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 L2VPNSessionStatusNsxt build()
-
-