public static class ManilaShareManage.ShareManageConcreteBuilder extends Object implements ShareManageBuilder
| Constructor and Description |
|---|
ShareManageConcreteBuilder() |
ShareManageConcreteBuilder(ManilaShareManage shareManage) |
| Modifier and Type | Method and Description |
|---|---|
ShareManageBuilder |
addDriverOption(String key,
String value)
Add a driver option.
|
ShareManage |
build()
Creates and return the Model Entity M
|
ShareManageBuilder |
description(String description)
Set the share description
|
ShareManageBuilder |
driverOptions(Map<String,String> driverOptions)
Set the driver options.
|
ShareManageBuilder |
exportPath(String exportPath)
Set the share export path.
|
ShareManageBuilder |
from(ShareManage in)
Creates a Builder using the param M as the default values
|
ShareManageBuilder |
name(String name)
Set the share name.
|
ShareManageBuilder |
protocol(Share.Protocol protocol)
Set the Shared File Systems protocol of the share to manage.
|
ShareManageBuilder |
serviceHost(String serviceHost)
Set the manage-share service host in this format:
host@backend#POOL. |
ShareManageBuilder |
shareType(String shareType)
Set the share type name.
|
public ShareManageConcreteBuilder()
public ShareManageConcreteBuilder(ManilaShareManage shareManage)
public ShareManageBuilder protocol(Share.Protocol protocol)
ShareManageBuilderprotocol in interface ShareManageBuilderprotocol - the share protocolpublic ShareManageBuilder name(String name)
ShareManageBuildername in interface ShareManageBuildername - the share namepublic ShareManageBuilder shareType(String shareType)
ShareManageBuildershareType in interface ShareManageBuildershareType - the share typepublic ShareManageBuilder addDriverOption(String key, String value)
ShareManageBuilderaddDriverOption in interface ShareManageBuilderkey - the key of the driver optionvalue - the value of the driver optionpublic ShareManageBuilder driverOptions(Map<String,String> driverOptions)
ShareManageBuilderdriverOptions in interface ShareManageBuilderdriverOptions - the driver optionspublic ShareManageBuilder exportPath(String exportPath)
ShareManageBuilderexportPath in interface ShareManageBuilderexportPath - the share export pathpublic ShareManageBuilder serviceHost(String serviceHost)
ShareManageBuilderhost@backend#POOL.serviceHost in interface ShareManageBuilderserviceHost - the service hostpublic ShareManageBuilder description(String description)
ShareManageBuilderdescription in interface ShareManageBuilderdescription - the share descriptionpublic ShareManage build()
Buildable.Builderbuild in interface Buildable.Builder<ShareManageBuilder,ShareManage>public ShareManageBuilder from(ShareManage in)
Buildable.Builderfrom in interface Buildable.Builder<ShareManageBuilder,ShareManage>Copyright © 2017. All rights reserved.