Class Storage.Builder

  • Enclosing class:
    Storage

    public static class Storage.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Storage.Builder id​(String id)
        A unique identifier.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • address

        public Storage.Builder address​(String address)
        Address of storage domain.
        Parameters:
        address - the value to set
        Returns:
        this builder
      • comment

        public Storage.Builder comment​(String comment)
        Free text containing comments about this object.
        Parameters:
        comment - the value to set
        Returns:
        this builder
      • storageDescription

        public Storage.Builder storageDescription​(String storageDescription)
        A human-readable description in plain text.
        Parameters:
        storageDescription - the value to set
        Returns:
        this builder
      • driverOptions

        public Storage.Builder driverOptions​(List<OlvmProperty> driverOptions)
        The options to be passed when creating a storage domain using a cinder driver.
        Parameters:
        driverOptions - the value to set
        Returns:
        this builder
      • driverSensitiveOptions

        public Storage.Builder driverSensitiveOptions​(List<OlvmProperty> driverSensitiveOptions)
        The options containing sensitive information to be passed when creating a storage domain using a cinder driver.
        Parameters:
        driverSensitiveOptions - the value to set
        Returns:
        this builder
      • logicalUnits

        public Storage.Builder logicalUnits​(List<LogicalUnit> logicalUnits)
        Logical Units of the host storage
        Parameters:
        logicalUnits - the value to set
        Returns:
        this builder
      • mountOptions

        public Storage.Builder mountOptions​(String mountOptions)
        Mount options
        Parameters:
        mountOptions - the value to set
        Returns:
        this builder
      • nfsRetrans

        public Storage.Builder nfsRetrans​(Integer nfsRetrans)
        The number of times to retry a request before attempting further recovery actions.
        Parameters:
        nfsRetrans - the value to set
        Returns:
        this builder
      • nfsTimeo

        public Storage.Builder nfsTimeo​(Integer nfsTimeo)
        The time in tenths of a second to wait for a response before retrying NFS requests.
        Parameters:
        nfsTimeo - the value to set
        Returns:
        this builder
      • nfsVersion

        public Storage.Builder nfsVersion​(Storage.NfsVersion nfsVersion)
        Version of NFS used.
        Parameters:
        nfsVersion - the value to set
        Returns:
        this builder
      • isOverrideLuns

        public Storage.Builder isOverrideLuns​(Boolean isOverrideLuns)
        Whether to override LUNs
        Parameters:
        isOverrideLuns - the value to set
        Returns:
        this builder
      • password

        public Storage.Builder password​(String password)
        Password of the host storage.
        Parameters:
        password - the value to set
        Returns:
        this builder
      • paths

        public Storage.Builder paths​(Integer paths)
        Paths of the host storage.
        Parameters:
        paths - the value to set
        Returns:
        this builder
      • port

        public Storage.Builder port​(Integer port)
        Port of the host storage.
        Parameters:
        port - the value to set
        Returns:
        this builder
      • portal

        public Storage.Builder portal​(String portal)
        Portal of the host storage.
        Parameters:
        portal - the value to set
        Returns:
        this builder
      • target

        public Storage.Builder target​(String target)
        Target of the host storage.
        Parameters:
        target - the value to set
        Returns:
        this builder
      • username

        public Storage.Builder username​(String username)
        Username of the host storage.
        Parameters:
        username - the value to set
        Returns:
        this builder
      • type

        public Storage.Builder type​(Storage.Type type)
        Type representing a storage domain type.
        Parameters:
        type - the value to set
        Returns:
        this builder
      • vfsType

        public Storage.Builder vfsType​(String vfsType)
        Type of VFS
        Parameters:
        vfsType - the value to set
        Returns:
        this builder