Package com.vmware.nsx_policy.model
Class Pnic.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Pnic.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pnicbuild()Pnic.BuildersetDeviceName(java.lang.String deviceName)device name or keyPnic.BuildersetUplinkName(java.lang.String uplinkName)Uplink name for this Pnic.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPnic.
-
-
Method Detail
-
setDeviceName
public Pnic.Builder setDeviceName(java.lang.String deviceName)
device name or key- Parameters:
deviceName- New value for the property.
-
setUplinkName
public Pnic.Builder setUplinkName(java.lang.String uplinkName)
Uplink name for this Pnic. This name will be used to reference this Pnic in other configurations.- Parameters:
uplinkName- New value for the property.
-
build
public Pnic build()
-
-