public class ScaleClusterRequest extends BaseClusterRequest
TopologyRequest.Type
blueprint, 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, validateHostPredicateProperties
public 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()
TopologyRequest
null
.getClusterId
in interface TopologyRequest
getClusterId
in class BaseClusterRequest
public void setClusterId(Long clusterId)
public TopologyRequest.Type getType()
TopologyRequest
public String getDescription()
TopologyRequest
Copyright © 2022 Apache Software Foundation. All rights reserved.