Interface ShareManageBuilder
-
- All Superinterfaces:
Buildable.Builder<ShareManageBuilder,ShareManage>
- All Known Implementing Classes:
ManilaShareManage.ShareManageConcreteBuilder
public interface ShareManageBuilder extends Buildable.Builder<ShareManageBuilder,ShareManage>
Builds aShareCreate.- Author:
- Daniel Gonzalez Nothnagel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShareManageBuilderaddDriverOption(String key, String value)Add a driver option.ShareManageBuilderdescription(String desciption)Set the share descriptionShareManageBuilderdriverOptions(Map<String,String> driverOptions)Set the driver options.ShareManageBuilderexportPath(String exportPath)Set the share export path.ShareManageBuildername(String name)Set the share name.ShareManageBuilderprotocol(Share.Protocol protocol)Set the Shared File Systems protocol of the share to manage.ShareManageBuilderserviceHost(String serviceHost)Set the manage-share service host in this format:host@backend#POOL.ShareManageBuildershareType(String shareType)Set the share type name.-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
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 optionvalue- 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
-
-