public class ClusterRequest extends Object
Constructor and Description |
---|
ClusterRequest(Long clusterId,
String clusterName,
String stackVersion,
Set<String> hostNames) |
Modifier and Type | Method and Description |
---|---|
Long |
getClusterId() |
String |
getClusterName() |
ConfigurationRequest |
getDesiredConfig()
Gets any configuration-based request (if any).
|
Set<String> |
getHostNames() |
String |
getStackVersion() |
void |
setClusterId(Long clusterId) |
void |
setClusterName(String clusterName) |
void |
setDesiredConfig(ConfigurationRequest configRequest)
Sets the config request (if any)
|
void |
setHostNames(Set<String> hostNames) |
void |
setStackVersion(String stackVersion) |
String |
toString() |
public Long getClusterId()
public String getClusterName()
public String getStackVersion()
public void setClusterId(Long clusterId)
clusterId
- the clusterId to setpublic void setClusterName(String clusterName)
clusterName
- the clusterName to setpublic void setStackVersion(String stackVersion)
stackVersion
- the stackVersion to setpublic void setDesiredConfig(ConfigurationRequest configRequest)
configRequest
- public ConfigurationRequest getDesiredConfig()
null
if none is set.Copyright © 2015. All rights reserved.