public interface NodeGroupBuilder extends Buildable.Builder<NodeGroupBuilder,NodeGroup>
NodeGroup
object.Modifier and Type | Method and Description |
---|---|
NodeGroupBuilder |
addNodeProcess(String name)
Add a node process
|
NodeGroupBuilder |
addSecurityGroup(String id)
Add the security group.
|
NodeGroupBuilder |
addServiceConfig(String name,
ServiceConfig config)
Add a service config
|
NodeGroupBuilder |
count(int count)
|
NodeGroupBuilder |
flavor(String flavorId)
|
NodeGroupBuilder |
floatingIpPool(String networkId)
|
NodeGroupBuilder |
name(String name)
|
NodeGroupBuilder |
nodeGroupTemplateId(String templateId)
|
NodeGroupBuilder |
setAutoSecurityGroup(boolean isAutoSecurityGroup)
Set the security group.
|
build, from
NodeGroupBuilder name(String name)
name
- the name of the node groupNodeGroupBuilder count(int count)
count
- the number of instances in the node groupNodeGroupBuilder nodeGroupTemplateId(String templateId)
templateId
- the id of the node group templateNodeGroupBuilder floatingIpPool(String networkId)
networkId
- the id of floating IP PoolNodeGroupBuilder flavor(String flavorId)
flavorId
- the id of flavorNodeGroupBuilder setAutoSecurityGroup(boolean isAutoSecurityGroup)
isAutoSecurityGroup
- true or falseNodeGroupBuilder addSecurityGroup(String id)
id
- the idNodeGroupBuilder addNodeProcess(String name)
name
- the nameNodeGroupBuilder addServiceConfig(String name, ServiceConfig config)
name
- the service nameconfig
- the configCopyright © 2017. All rights reserved.