public class ScaleClusterRequest extends BaseClusterRequest
TopologyRequest.Typeblueprint, blueprintFactory, clusterId, configuration, hostGroupInfoMap, PROVISION_ACTION_PROPERTY, provisionAction, securityConfiguration| Constructor and Description |
|---|
ScaleClusterRequest(Set<Map<String,Object>> propertySet)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getClusterId()
Get the cluster id associated with the request.
|
String |
getClusterName() |
String |
getDescription()
Get request description.
|
TopologyRequest.Type |
getType()
Get the request type.
|
void |
setClusterId(Long clusterId) |
void |
setClusterName(String clusterName) |
getBlueprint, getBlueprintFactory, getConfiguration, getHostGroupInfo, getProvisionAction, getSecurityConfiguration, init, setBlueprint, setConfiguration, setProvisionAction, validateHostPredicatePropertiespublic ScaleClusterRequest(Set<Map<String,Object>> propertySet) throws InvalidTopologyTemplateException
propertySet - set of request propertiesInvalidTopologyTemplateException - if any validation of properties failspublic String getClusterName()
public void setClusterName(String clusterName)
public Long getClusterId()
TopologyRequestnull.getClusterId in interface TopologyRequestgetClusterId in class BaseClusterRequestpublic void setClusterId(Long clusterId)
public TopologyRequest.Type getType()
TopologyRequestpublic String getDescription()
TopologyRequestCopyright © 2022 Apache Software Foundation. All rights reserved.