Class LogicalUnit.Builder

  • Enclosing class:
    LogicalUnit

    public static class LogicalUnit.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • address

        public LogicalUnit.Builder address​(String address)
        Address of the logical unit.
        Parameters:
        address - the value to set
        Returns:
        this builder
      • discardMaxSizeInBytes

        public LogicalUnit.Builder discardMaxSizeInBytes​(Long discardMaxSizeInBytes)
        The maximum number of bytes that can be discarded by the logical unit???s underlying storage in a single operation.
        Parameters:
        discardMaxSizeInBytes - the value to set
        Returns:
        this builder
      • isDiscardZeroesData

        public LogicalUnit.Builder isDiscardZeroesData​(Boolean isDiscardZeroesData)
        True, if previously discarded blocks in the logical unit???s underlying storage are read back as zeros.
        Parameters:
        isDiscardZeroesData - the value to set
        Returns:
        this builder
      • diskId

        public LogicalUnit.Builder diskId​(String diskId)
        Disk ID of the logical unit.
        Parameters:
        diskId - the value to set
        Returns:
        this builder
      • id

        public LogicalUnit.Builder id​(String id)
        a unique identifier.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • lunMapping

        public LogicalUnit.Builder lunMapping​(Integer lunMapping)
        LUN Mapping
        Parameters:
        lunMapping - the value to set
        Returns:
        this builder
      • password

        public LogicalUnit.Builder password​(String password)
        Password of the logical unit.
        Parameters:
        password - the value to set
        Returns:
        this builder
      • paths

        public LogicalUnit.Builder paths​(Integer paths)
        Paths of the logical unit.
        Parameters:
        paths - the value to set
        Returns:
        this builder
      • port

        public LogicalUnit.Builder port​(Integer port)
        Port of the logical unit.
        Parameters:
        port - the value to set
        Returns:
        this builder
      • portal

        public LogicalUnit.Builder portal​(String portal)
        Portal of the logical unit.
        Parameters:
        portal - the value to set
        Returns:
        this builder
      • productId

        public LogicalUnit.Builder productId​(String productId)
        Product ID of the logical unit.
        Parameters:
        productId - the value to set
        Returns:
        this builder
      • serial

        public LogicalUnit.Builder serial​(String serial)
        Serial of the logical unit.
        Parameters:
        serial - the value to set
        Returns:
        this builder
      • size

        public LogicalUnit.Builder size​(Integer size)
        Size of the logical unit.
        Parameters:
        size - the value to set
        Returns:
        this builder
      • storageDomainId

        public LogicalUnit.Builder storageDomainId​(String storageDomainId)
        Storage Domain ID of the logical unit.
        Parameters:
        storageDomainId - the value to set
        Returns:
        this builder
      • target

        public LogicalUnit.Builder target​(String target)
        Target of the logical unit.
        Parameters:
        target - the value to set
        Returns:
        this builder
      • username

        public LogicalUnit.Builder username​(String username)
        Username of the logical unit.
        Parameters:
        username - the value to set
        Returns:
        this builder
      • vendorId

        public LogicalUnit.Builder vendorId​(String vendorId)
        Vendor ID of the logical unit.
        Parameters:
        vendorId - the value to set
        Returns:
        this builder
      • volumeGroupId

        public LogicalUnit.Builder volumeGroupId​(String volumeGroupId)
        Volume Group ID of the logical unit.
        Parameters:
        volumeGroupId - the value to set
        Returns:
        this builder