public interface ClusterActionCreateBuilder extends Buildable.Builder<ClusterActionCreateBuilder,ClusterActionCreate>
ClusterActionCreate
objectsModifier and Type | Method and Description |
---|---|
ClusterActionCreateBuilder |
addNodes(Map<String,ArrayList<String>> addNodes)
Add one or more nodes, as a list, to a cluster
|
ClusterActionCreateBuilder |
check(Map<String,String> check)
Check the health status of a cluster
|
ClusterActionCreateBuilder |
delNodes(Map<String,ArrayList<String>> delNodes)
Delete one or more nodes, as a list, from a cluster
|
ClusterActionCreateBuilder |
policyAttach(Map<String,String> policyAttach)
Attach a policy to a cluster
|
ClusterActionCreateBuilder |
policyDetach(Map<String,String> policyDetach)
Detach a policy from a cluster
|
ClusterActionCreateBuilder |
policyUpdate(Map<String,String> policyUpdate)
Update the policy attachment
|
ClusterActionCreateBuilder |
recover(Map<String,String> recover)
Recover a cluster from its current unhealthy status
|
ClusterActionCreateBuilder |
resize(Map<String,String> resize)
Change the size of the cluster
|
ClusterActionCreateBuilder |
scaleIn(Map<String,String> scaleIn)
Shrink the cluster by count number of nodes
|
ClusterActionCreateBuilder |
scaleOut(Map<String,String> scaleOut)
Enlarge the cluster by count number of nodes
|
build, from
ClusterActionCreateBuilder addNodes(Map<String,ArrayList<String>> addNodes)
addNodes
- the list of nodeClusterActionCreateBuilder delNodes(Map<String,ArrayList<String>> delNodes)
delNodes
- the list of nodeClusterActionCreateBuilder scaleOut(Map<String,String> scaleOut)
scaleOut
- count number of nodesClusterActionCreateBuilder scaleIn(Map<String,String> scaleIn)
scaleIn
- count number of nodesClusterActionCreateBuilder resize(Map<String,String> resize)
resize
- size of the clusterClusterActionCreateBuilder check(Map<String,String> check)
check
- check infoClusterActionCreateBuilder recover(Map<String,String> recover)
recover
- its current unhealthy statusClusterActionCreateBuilder policyAttach(Map<String,String> policyAttach)
policyAttach
- parameters for the policy attachmentClusterActionCreateBuilder policyDetach(Map<String,String> policyDetach)
policyDetach
- parameters for the policy attachmentClusterActionCreateBuilder policyUpdate(Map<String,String> policyUpdate)
policyUpdate
- property settingsCopyright © 2017. All rights reserved.