Package com.vmware.nsx_policy.model
Class Uplink.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Uplink.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Uplinkbuild()Uplink.BuildersetUplinkInfo(java.lang.String uplinkInfo)Possible values are:Uplink.UPLINK_INFO_PRP_LAN_AUplink.UPLINK_INFO_PRP_LAN_BUplink.UPLINK_INFO_DPUAdditional information indicating if the uplink is being configured for certain data-path features.Uplink.BuildersetUplinkName(java.lang.String uplinkName)Name of this uplinkUplink.BuildersetUplinkType(java.lang.String uplinkType)Possible values are:Uplink.UPLINK_TYPE_PNICUplink.UPLINK_TYPE_LAGType of the uplink
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofUplink.
-
-
Method Detail
-
setUplinkInfo
public Uplink.Builder setUplinkInfo(java.lang.String uplinkInfo)
Possible values are: Additional information indicating if the uplink is being configured for certain data-path features. An uplink can be considered as DPU capable if the corresponding host-switch data-path processing is offloaded to the SmartNic. PRP_LAN enums are not supported currently.- Parameters:
uplinkInfo- New value for the property.
-
setUplinkName
public Uplink.Builder setUplinkName(java.lang.String uplinkName)
Name of this uplink- Parameters:
uplinkName- New value for the property.
-
setUplinkType
public Uplink.Builder setUplinkType(java.lang.String uplinkType)
Possible values are: Type of the uplink- Parameters:
uplinkType- New value for the property.
-
build
public Uplink build()
-
-