public class CreateClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateCluster operation.
Creates a new Amazon ECS cluster. By default, your account receives a
default cluster when you launch your first container
instance. However, you can create your own cluster with a unique name
with the CreateCluster action.
NOOP| Constructor and Description |
|---|
CreateClusterRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateClusterRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClusterName()
The name of your cluster.
|
int |
hashCode() |
void |
setClusterName(String clusterName)
The name of your cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateClusterRequest |
withClusterName(String clusterName)
The name of your cluster.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getClusterName()
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 void setClusterName(String clusterName)
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 CreateClusterRequest withClusterName(String clusterName)
default. Up to 255
letters (uppercase and lowercase), numbers, hyphens, and underscores
are allowed.
Returns a reference to this object so that method calls can be chained together.
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 toString()
toString in class ObjectObject.toString()public CreateClusterRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.