Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
DpuInfo . |
Modifier and Type | Method and 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.
|
public Builder()
DpuInfo
.public DpuInfo.Builder setDpuId(java.lang.String dpuId)
dpuId
- New value for the property.public DpuInfo.Builder setFirmwareVersion(java.lang.String firmwareVersion)
firmwareVersion
- New value for the property.public DpuInfo.Builder setIsPrimary(java.lang.Boolean isPrimary)
isPrimary
- New value for the property.public DpuInfo.Builder setModel(java.lang.String model)
model
- New value for the property.public DpuInfo.Builder setOsVersion(java.lang.String osVersion)
osVersion
- New value for the property.public DpuInfo.Builder setState(java.lang.String state)
state
- New value for the property.public DpuInfo.Builder setVendor(java.lang.String vendor)
vendor
- New value for the property.public DpuInfo build()