Package com.vmware.nsx_policy.model
Class L2VPNSessionPeerConfigNsxt.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VPNSessionPeerConfigNsxt.Builder
-
- Enclosing class:
- L2VPNSessionPeerConfigNsxt
public static final class L2VPNSessionPeerConfigNsxt.Builder extends java.lang.Object
Builder class forL2VPNSessionPeerConfigNsxt
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofL2VPNSessionPeerConfigNsxt
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VPNSessionPeerConfigNsxt
build()
L2VPNSessionPeerConfigNsxt.Builder
setAlarm(PolicyRuntimeAlarm alarm)
L2VPNSessionPeerConfigNsxt.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.L2VPNSessionPeerConfigNsxt.Builder
setPeerCodes(java.util.List<L2VPNSessionTransportTunnelPeerCode> peerCodes)
List of peer codes per transport tunnel.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL2VPNSessionPeerConfigNsxt
.
-
-
Method Detail
-
setPeerCodes
public L2VPNSessionPeerConfigNsxt.Builder setPeerCodes(java.util.List<L2VPNSessionTransportTunnelPeerCode> peerCodes)
List of peer codes per transport tunnel. 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:
peerCodes
- New value for the property.
-
setAlarm
public L2VPNSessionPeerConfigNsxt.Builder setAlarm(PolicyRuntimeAlarm alarm)
- Parameters:
alarm
- New value for the property.
-
setEnforcementPointPath
public L2VPNSessionPeerConfigNsxt.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 L2VPNSessionPeerConfigNsxt build()
-
-