public interface ClusterCreateBuilder extends Buildable.Builder<ClusterCreateBuilder,ClusterCreate>
ClusterCreate
objectsModifier and Type | Method and Description |
---|---|
ClusterCreateBuilder |
desiredCapacity(int desiredCapacity)
Add the capacity, or initial size, of the cluster
|
ClusterCreateBuilder |
maxSize(int maxSize)
Add the maximum size of the cluster.
|
ClusterCreateBuilder |
metadata(Map<String,String> metadata)
Add a set of key and value pairs to associate with the cluster.
|
ClusterCreateBuilder |
minSize(int minSize)
Add the minimum size of the cluster.
|
ClusterCreateBuilder |
name(String name)
Add the name of the cluster.
|
ClusterCreateBuilder |
profileID(String profileID)
Add the ID or name of the profile for the cluster.
|
ClusterCreateBuilder |
timeout(int timeout)
Add the timeout value, in minutes, for cluster creation.
|
build, from
ClusterCreateBuilder name(String name)
name
- The name of the cluster.ClusterCreateBuilder metadata(Map<String,String> metadata)
metadata
- A set of key and value pairs to associate with the cluster.ClusterCreateBuilder desiredCapacity(int desiredCapacity)
desiredCapacity
- The capacity, or initial size, of the clusterClusterCreateBuilder maxSize(int maxSize)
maxSize
- The maximum size of the cluster.ClusterCreateBuilder minSize(int minSize)
minSize
- The minimum size of the cluster.ClusterCreateBuilder profileID(String profileID)
profileID
- The ID or name of the profile for the cluster.ClusterCreateBuilder timeout(int timeout)
timeout
- The timeout value, in minutes, for cluster creation.Copyright © 2017. All rights reserved.