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 Uplink
build()
Uplink.Builder
setUplinkInfo(java.lang.String uplinkInfo)
Possible values are:Uplink.UPLINK_INFO_PRP_LAN_A
Uplink.UPLINK_INFO_PRP_LAN_B
Uplink.UPLINK_INFO_DPU
Additional information indicating if the uplink is being configured for certain data-path features.Uplink.Builder
setUplinkName(java.lang.String uplinkName)
Name of this uplinkUplink.Builder
setUplinkType(java.lang.String uplinkType)
Possible values are:Uplink.UPLINK_TYPE_PNIC
Uplink.UPLINK_TYPE_LAG
Type 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()
-
-