Package com.vmware.nsx_policy.model
Class DpuInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DpuInfo.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DpuInfo
build()
DpuInfo.Builder
setDpuId(java.lang.String dpuId)
Specifies Id of DPU.DpuInfo.Builder
setFirmwareVersion(java.lang.String firmwareVersion)
Specifies the firmware version of DPU.DpuInfo.Builder
setIsPrimary(java.lang.Boolean isPrimary)
Specifies whether this is considered the primary DPU in the host.DpuInfo.Builder
setModel(java.lang.String model)
Specifies the model of DPU.DpuInfo.Builder
setOsVersion(java.lang.String osVersion)
Specifies the operating system version of DPU.DpuInfo.Builder
setState(java.lang.String state)
Possible values are:DpuInfo.STATE_UNAVAILABLE
DpuInfo.STATE_UNMANAGED
DpuInfo.STATE_UNUSED
DpuInfo.STATE_MANAGED
DpuInfo.STATE_INVALID
Specifies state of DPU.DpuInfo.Builder
setVendor(java.lang.String vendor)
Specifies the vendor of DPU.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDpuInfo
.
-
-
Method Detail
-
setDpuId
public DpuInfo.Builder setDpuId(java.lang.String dpuId)
Specifies Id of DPU. 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:
dpuId
- New value for the property.
-
setFirmwareVersion
public DpuInfo.Builder setFirmwareVersion(java.lang.String firmwareVersion)
Specifies the firmware version of DPU. 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:
firmwareVersion
- New value for the property.
-
setIsPrimary
public DpuInfo.Builder setIsPrimary(java.lang.Boolean isPrimary)
Specifies whether this is considered the primary DPU in the host. 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:
isPrimary
- New value for the property.
-
setModel
public DpuInfo.Builder setModel(java.lang.String model)
Specifies the model of DPU. 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:
model
- New value for the property.
-
setOsVersion
public DpuInfo.Builder setOsVersion(java.lang.String osVersion)
Specifies the operating system version of DPU. 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:
osVersion
- New value for the property.
-
setState
public DpuInfo.Builder setState(java.lang.String state)
Possible values are: Specifies state of DPU. 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:
state
- New value for the property.
-
setVendor
public DpuInfo.Builder setVendor(java.lang.String vendor)
Specifies the vendor of DPU. 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:
vendor
- New value for the property.
-
build
public DpuInfo build()
-
-