@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a cluster.
NOOP| Constructor and Description |
|---|
CreateClusterRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateClusterRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateClusterRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive string of up to 64 ASCII characters.
|
String |
getClusterName()
The name of the cluster.
|
Map<String,String> |
getTags()
The tags associated with the cluster.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters.
|
void |
setClusterName(String clusterName)
The name of the cluster.
|
void |
setTags(Map<String,String> tags)
The tags associated with the cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateClusterRequest |
withClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters.
|
CreateClusterRequest |
withClusterName(String clusterName)
The name of the cluster.
|
CreateClusterRequest |
withTags(Map<String,String> tags)
The tags associated with the cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.
clientToken - A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an
action, specify a client token in the request.public String getClientToken()
A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.
public CreateClusterRequest withClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.
clientToken - A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an
action, specify a client token in the request.public void setClusterName(String clusterName)
The name of the cluster.
clusterName - The name of the cluster.public String getClusterName()
The name of the cluster.
public CreateClusterRequest withClusterName(String clusterName)
The name of the cluster.
clusterName - The name of the cluster.public Map<String,String> getTags()
The tags associated with the cluster.
public void setTags(Map<String,String> tags)
The tags associated with the cluster.
tags - The tags associated with the cluster.public CreateClusterRequest withTags(Map<String,String> tags)
The tags associated with the cluster.
tags - The tags associated with the cluster.public CreateClusterRequest addTagsEntry(String key, String value)
public CreateClusterRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateClusterRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()