Package com.vmware.nsx_policy.model
Class L2VpnSessionRemoteMacForSegment.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VpnSessionRemoteMacForSegment.Builder
-
- Enclosing class:
- L2VpnSessionRemoteMacForSegment
public static final class L2VpnSessionRemoteMacForSegment.Builder extends java.lang.Object
Builder class forL2VpnSessionRemoteMacForSegment
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofL2VpnSessionRemoteMacForSegment
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VpnSessionRemoteMacForSegment
build()
L2VpnSessionRemoteMacForSegment.Builder
setRemoteMacAddresses(java.util.List<java.lang.String> remoteMacAddresses)
Remote Mac addresses.L2VpnSessionRemoteMacForSegment.Builder
setSegmentPath(java.lang.String segmentPath)
Intent path of the segment.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL2VpnSessionRemoteMacForSegment
.
-
-
Method Detail
-
setRemoteMacAddresses
public L2VpnSessionRemoteMacForSegment.Builder setRemoteMacAddresses(java.util.List<java.lang.String> remoteMacAddresses)
Remote Mac addresses. 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:
remoteMacAddresses
- New value for the property.
-
setSegmentPath
public L2VpnSessionRemoteMacForSegment.Builder setSegmentPath(java.lang.String segmentPath)
Intent path of the segment.- Parameters:
segmentPath
- New value for the property.
-
build
public L2VpnSessionRemoteMacForSegment build()
-
-