public interface NodeGroupTemplateBuilder extends Buildable.Builder<NodeGroupTemplateBuilder,NodeGroupTemplate>
NodeGroupTemplate
object.Modifier and Type | Method and Description |
---|---|
NodeGroupTemplateBuilder |
addNodeProcess(String name)
Add a node process
|
NodeGroupTemplateBuilder |
addSecurityGroup(String id)
Add the security group.
|
NodeGroupTemplateBuilder |
addServiceConfig(String name,
ServiceConfig config)
Add a service config
|
NodeGroupTemplateBuilder |
description(String description)
|
NodeGroupTemplateBuilder |
flavor(String flavorId)
|
NodeGroupTemplateBuilder |
floatingIpPool(String networkId)
|
NodeGroupTemplateBuilder |
hadoopVersion(String hadoopVersion)
|
NodeGroupTemplateBuilder |
name(String name)
|
NodeGroupTemplateBuilder |
pluginName(String pluginName)
|
NodeGroupTemplateBuilder |
setAutoSecurityGroup(boolean isAutoSecurityGroup)
Set the security group.
|
build, from
NodeGroupTemplateBuilder name(String name)
name
- the name of the node group templateNodeGroupTemplateBuilder description(String description)
description
- the description of the node group templateNodeGroupTemplateBuilder hadoopVersion(String hadoopVersion)
hadoopVersion
- the version of hadoopNodeGroupTemplateBuilder pluginName(String pluginName)
pluginName
- the name of the sahara pluginNodeGroupTemplateBuilder floatingIpPool(String networkId)
networkId
- the id of floating IP PoolNodeGroupTemplateBuilder flavor(String flavorId)
flavorId
- the id of flavorNodeGroupTemplateBuilder setAutoSecurityGroup(boolean isAutoSecurityGroup)
isAutoSecurityGroup
- true or falseNodeGroupTemplateBuilder addSecurityGroup(String id)
id
- the idNodeGroupTemplateBuilder addNodeProcess(String name)
name
- the nameNodeGroupTemplateBuilder addServiceConfig(String name, ServiceConfig config)
name
- the service nameconfig
- the configCopyright © 2017. All rights reserved.