Package com.vmware.nsx_policy.model
Class L2VpnPeerCodes.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VpnPeerCodes.Builder
-
- Enclosing class:
- L2VpnPeerCodes
public static final class L2VpnPeerCodes.Builder extends java.lang.Object
Builder class forL2VpnPeerCodes
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofL2VpnPeerCodes
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VpnPeerCodes
build()
L2VpnPeerCodes.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point to which the config belongs.L2VpnPeerCodes.Builder
setPeerCodes(java.util.List<L2VpnTransportTunnelPeerCode> peerCodes)
List of peer codes per transport tunnel.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL2VpnPeerCodes
.
-
-
Method Detail
-
setPeerCodes
public L2VpnPeerCodes.Builder setPeerCodes(java.util.List<L2VpnTransportTunnelPeerCode> peerCodes)
List of peer codes per transport tunnel.- Parameters:
peerCodes
- New value for the property.
-
setEnforcementPointPath
public L2VpnPeerCodes.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point to which the config belongs. 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 L2VpnPeerCodes build()
-
-