Package com.vmware.nsx_policy.model
Class VdsUplink.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VdsUplink.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VdsUplink
build()
VdsUplink.Builder
setUplinkName(java.lang.String uplinkName)
This name is from UplinkHostSwitch profile that is associated with the HostSwitch specified in TransportNode or TransportNodeProfile configuration.VdsUplink.Builder
setVdsLagName(java.lang.String vdsLagName)
LAG name that is connected to Physical NIC on a host from vSphere.VdsUplink.Builder
setVdsUplinkName(java.lang.String vdsUplinkName)
Uplink name of VDS that is connected to Physical NIC on a host from vSphere.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofVdsUplink
.
-
-
Method Detail
-
setUplinkName
public VdsUplink.Builder setUplinkName(java.lang.String uplinkName)
This name is from UplinkHostSwitch profile that is associated with the HostSwitch specified in TransportNode or TransportNodeProfile configuration. This name will be used as an alias to either VDS uplink or lag in other configuration.- Parameters:
uplinkName
- New value for the property.
-
setVdsLagName
public VdsUplink.Builder setVdsLagName(java.lang.String vdsLagName)
LAG name that is connected to Physical NIC on a host from vSphere.- Parameters:
vdsLagName
- New value for the property.
-
setVdsUplinkName
public VdsUplink.Builder setVdsUplinkName(java.lang.String vdsUplinkName)
Uplink name of VDS that is connected to Physical NIC on a host from vSphere.- Parameters:
vdsUplinkName
- New value for the property.
-
build
public VdsUplink build()
-
-