Interface ShareManageBuilder

    • Method Detail

      • protocol

        ShareManageBuilder protocol​(Share.Protocol protocol)
        Set the Shared File Systems protocol of the share to manage. A valid value is NFS, CIFS, GlusterFS, or HDFS.
        Parameters:
        protocol - the share protocol
        Returns:
        ShareManageBuilder
      • name

        ShareManageBuilder name​(String name)
        Set the share name.
        Parameters:
        name - the share name
        Returns:
        ShareManageBuilder
      • shareType

        ShareManageBuilder shareType​(String shareType)
        Set the share type name.
        Parameters:
        shareType - the share type
        Returns:
        ShareManageBuilder
      • addDriverOption

        ShareManageBuilder addDriverOption​(String key,
                                           String value)
        Add a driver option.
        Parameters:
        key - the key of the driver option
        value - the value of the driver option
        Returns:
        ShareManageBuilder
      • driverOptions

        ShareManageBuilder driverOptions​(Map<String,​String> driverOptions)
        Set the driver options.
        Parameters:
        driverOptions - the driver options
        Returns:
        ShareManageBuilder
      • exportPath

        ShareManageBuilder exportPath​(String exportPath)
        Set the share export path.
        Parameters:
        exportPath - the share export path
        Returns:
        ShareManageBuilder
      • serviceHost

        ShareManageBuilder serviceHost​(String serviceHost)
        Set the manage-share service host in this format: host@backend#POOL.
        Parameters:
        serviceHost - the service host
        Returns:
        ShareManageBuilder
      • description

        ShareManageBuilder description​(String desciption)
        Set the share description
        Parameters:
        desciption - the share description
        Returns:
        ShareManageBuilder