Package com.vmware.nsx_policy.model
Class L2VpnSessionRemoteMacNsxt.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VpnSessionRemoteMacNsxt.Builder
-
- Enclosing class:
- L2VpnSessionRemoteMacNsxt
public static final class L2VpnSessionRemoteMacNsxt.Builder extends java.lang.Object
Builder class forL2VpnSessionRemoteMacNsxt
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofL2VpnSessionRemoteMacNsxt
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VpnSessionRemoteMacNsxt
build()
L2VpnSessionRemoteMacNsxt.Builder
setAlarm(PolicyRuntimeAlarm alarm)
L2VpnSessionRemoteMacNsxt.Builder
setDisplayName(java.lang.String displayName)
Display name of L2Vpn session.L2VpnSessionRemoteMacNsxt.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.L2VpnSessionRemoteMacNsxt.Builder
setRemoteMacs(java.util.List<L2VpnSessionRemoteMacForSegment> remoteMacs)
List of mac addresses of logical switches for an l2vpn session.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL2VpnSessionRemoteMacNsxt
.
-
-
Method Detail
-
setDisplayName
public L2VpnSessionRemoteMacNsxt.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.
-
setRemoteMacs
public L2VpnSessionRemoteMacNsxt.Builder setRemoteMacs(java.util.List<L2VpnSessionRemoteMacForSegment> remoteMacs)
List of mac addresses of logical switches for an 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:
remoteMacs
- New value for the property.
-
setAlarm
public L2VpnSessionRemoteMacNsxt.Builder setAlarm(PolicyRuntimeAlarm alarm)
- Parameters:
alarm
- New value for the property.
-
setEnforcementPointPath
public L2VpnSessionRemoteMacNsxt.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 L2VpnSessionRemoteMacNsxt build()
-
-