public interface NodeCreateBuilder extends Buildable.Builder<NodeCreateBuilder,NodeCreate>
NodeCreate
objectsModifier and Type | Method and Description |
---|---|
NodeCreateBuilder |
clusterID(String clusterID)
Add the ID or shortID or name of the cluster the node lives in.
|
NodeCreateBuilder |
metadata(Map<String,String> metadata)
Add a set of key and value pairs to associate with the node.
|
NodeCreateBuilder |
name(String name)
Add the name of the node to be created.
|
NodeCreateBuilder |
profileID(String profileID)
Add the ID or shortID or name of the profile for the node.
|
NodeCreateBuilder |
role(String role)
Add a string indicating the role this node plays in a cluster.
|
build, from
NodeCreateBuilder clusterID(String clusterID)
clusterID
- The ID or shortID or name of the clusterNodeCreateBuilder metadata(Map<String,String> metadata)
metadata
- A set of key and value pairsNodeCreateBuilder name(String name)
name
- The name of the nodeNodeCreateBuilder profileID(String profileID)
profileID
- The ID or shortID or name of the profileNodeCreateBuilder role(String role)
role
- a string indicating the role this node playsCopyright © 2017. All rights reserved.