Class DpuInfo.Builder

  • Enclosing class:
    DpuInfo

    public static final class DpuInfo.Builder
    extends java.lang.Object
    Builder class for DpuInfo.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of DpuInfo.
    • 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.
      • 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.