public interface ClusterTemplateBuilder extends Buildable.Builder<ClusterTemplateBuilder,ClusterTemplate>
ClusterTemplate
object.Modifier and Type | Method and Description |
---|---|
ClusterTemplateBuilder |
addNodeGroup(NodeGroup nodeGroup)
Add a node group
|
ClusterTemplateBuilder |
addServiceConfig(String name,
ServiceConfig config)
Add a cluster config
|
ClusterTemplateBuilder |
description(String description)
|
ClusterTemplateBuilder |
hadoopVersion(String hadoopVersion)
|
ClusterTemplateBuilder |
managementNetworkId(String networkId)
See
ClusterTemplate#getNeutronManagementNetworkId() |
ClusterTemplateBuilder |
name(String name)
|
ClusterTemplateBuilder |
pluginName(String pluginName)
|
build, from
ClusterTemplateBuilder pluginName(String pluginName)
pluginName
- the name of the sahara pluginClusterTemplateBuilder hadoopVersion(String hadoopVersion)
hadoopVersion
- the version of hadoopClusterTemplateBuilder addNodeGroup(NodeGroup nodeGroup)
nodeGroup
- the node groupClusterTemplateBuilder name(String name)
name
- the name of the cluster templateClusterTemplateBuilder description(String description)
description
- the description of cluster templateClusterTemplateBuilder managementNetworkId(String networkId)
ClusterTemplate#getNeutronManagementNetworkId()
networkId
- the id of management networkClusterTemplateBuilder addServiceConfig(String name, ServiceConfig config)
name
- the service nameconfig
- the configCopyright © 2017. All rights reserved.