public class ClusterRequest extends Object
Constructor and Description |
---|
ClusterRequest(Long clusterId,
String clusterName,
String provisioningState,
SecurityType securityType,
String stackVersion,
Set<String> hostNames) |
ClusterRequest(Long clusterId,
String clusterName,
String provisioningState,
SecurityType securityType,
String stackVersion,
Set<String> hostNames,
Map<String,Object> sessionAttributes) |
ClusterRequest(Long clusterId,
String clusterName,
String stackVersion,
Set<String> hostNames) |
Modifier and Type | Method and Description |
---|---|
Long |
getClusterId() |
String |
getClusterName() |
List<ConfigurationRequest> |
getDesiredConfig()
Gets any configuration-based request (if any).
|
Set<String> |
getHostNames() |
String |
getProvisioningState()
Gets whether the cluster is still initializing or has finished with its
deployment requests.
|
SecurityType |
getSecurityType()
Gets the cluster's security type.
|
ServiceConfigVersionRequest |
getServiceConfigVersionRequest() |
Map<String,Object> |
getSessionAttributes()
Get the session attributes of this request.
|
String |
getStackVersion() |
void |
setDesiredConfig(List<ConfigurationRequest> configRequests)
Sets the configs requests (if any).
|
void |
setServiceConfigVersionRequest(ServiceConfigVersionRequest serviceConfigVersionRequest) |
String |
toString() |
public ClusterRequest(Long clusterId, String clusterName, String stackVersion, Set<String> hostNames)
public ClusterRequest(Long clusterId, String clusterName, String provisioningState, SecurityType securityType, String stackVersion, Set<String> hostNames)
public ClusterRequest(Long clusterId, String clusterName, String provisioningState, SecurityType securityType, String stackVersion, Set<String> hostNames, Map<String,Object> sessionAttributes)
provisioningState
- whether the cluster is still initializing or has finished with its deployment requests:
either INIT
or INSTALLED
, or null
if not set on the request.public Long getClusterId()
public String getClusterName()
public String getProvisioningState()
INIT
or INSTALLED
or null
if not set
on the request.public SecurityType getSecurityType()
null
if not set set on the requestpublic String getStackVersion()
public void setDesiredConfig(List<ConfigurationRequest> configRequests)
configRequests
- the list of configuration requestspublic List<ConfigurationRequest> getDesiredConfig()
null
if none is set.public ServiceConfigVersionRequest getServiceConfigVersionRequest()
public Map<String,Object> getSessionAttributes()
public void setServiceConfigVersionRequest(ServiceConfigVersionRequest serviceConfigVersionRequest)
Copyright © 2022 Apache Software Foundation. All rights reserved.