@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateClusterRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterName()
The name of your cluster.
|
List<Tag> |
getTags()
The metadata that you apply to the cluster to help you categorize and organize them.
|
int |
hashCode() |
void |
setClusterName(String clusterName)
The name of your cluster.
|
void |
setTags(Collection<Tag> tags)
The metadata that you apply to the cluster to help you categorize and organize them.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateClusterRequest |
withClusterName(String clusterName)
The name of your cluster.
|
CreateClusterRequest |
withTags(Collection<Tag> tags)
The metadata that you apply to the cluster to help you categorize and organize them.
|
CreateClusterRequest |
withTags(Tag... tags)
The metadata that you apply to the cluster to help you categorize and organize them.
|
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 setClusterName(String clusterName)
The name of your cluster. If you do not specify a name for your cluster, you create a cluster named
default. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
clusterName - The name of your cluster. If you do not specify a name for your cluster, you create a cluster named
default. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are
allowed.public String getClusterName()
The name of your cluster. If you do not specify a name for your cluster, you create a cluster named
default. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
default. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are
allowed.public CreateClusterRequest withClusterName(String clusterName)
The name of your cluster. If you do not specify a name for your cluster, you create a cluster named
default. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
clusterName - The name of your cluster. If you do not specify a name for your cluster, you create a cluster named
default. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are
allowed.public List<Tag> getTags()
The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
public void setTags(Collection<Tag> tags)
The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags - The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of
a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128
characters, and tag values can have a maximum length of 256 characters.public CreateClusterRequest withTags(Tag... tags)
The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of
a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128
characters, and tag values can have a maximum length of 256 characters.public CreateClusterRequest withTags(Collection<Tag> tags)
The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags - The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of
a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128
characters, and tag values can have a maximum length of 256 characters.public String toString()
toString in class ObjectObject.toString()public CreateClusterRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.