public class ClusterResponse extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ClusterResponse.ClusterResponseWrapper |
Constructor and Description |
---|
ClusterResponse(long clusterId,
String clusterName,
State provisioningState,
SecurityType securityType,
Set<String> hostNames,
int totalHosts,
String desiredStackVersion,
ClusterHealthReport clusterHealthReport) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ClusterHealthReport |
getClusterHealthReport() |
long |
getClusterId() |
String |
getClusterName() |
Map<String,String> |
getCredentialStoreServiceProperties() |
Map<String,DesiredConfig> |
getDesiredConfigs() |
Map<String,Collection<ServiceConfigVersionResponse>> |
getDesiredServiceConfigVersions() |
String |
getDesiredStackVersion() |
State |
getProvisioningState()
Gets whether the cluster is still initializing or has finished with its
deployment requests.
|
SecurityType |
getSecurityType()
Gets the cluster's security type.
|
int |
getTotalHosts() |
int |
hashCode() |
void |
setCredentialStoreServiceProperties(Map<String,String> credentialServiceProperties) |
void |
setDesiredConfigs(Map<String,DesiredConfig> configs) |
void |
setDesiredServiceConfigVersions(Map<String,Collection<ServiceConfigVersionResponse>> desiredServiceConfigVersions) |
String |
toString() |
public ClusterResponse(long clusterId, String clusterName, State provisioningState, SecurityType securityType, Set<String> hostNames, int totalHosts, String desiredStackVersion, ClusterHealthReport clusterHealthReport)
public long getClusterId()
public String getClusterName()
public State getProvisioningState()
INIT
or INSTALLED
, never null
.public SecurityType getSecurityType()
SecurityType
for relevant values.public String getDesiredStackVersion()
public void setDesiredConfigs(Map<String,DesiredConfig> configs)
public Map<String,DesiredConfig> getDesiredConfigs()
public int getTotalHosts()
public ClusterHealthReport getClusterHealthReport()
public Map<String,Collection<ServiceConfigVersionResponse>> getDesiredServiceConfigVersions()
public void setDesiredServiceConfigVersions(Map<String,Collection<ServiceConfigVersionResponse>> desiredServiceConfigVersions)
public void setCredentialStoreServiceProperties(Map<String,String> credentialServiceProperties)
Copyright © 2022 Apache Software Foundation. All rights reserved.