public class CreateClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateCluster operation.
Creates a new Amazon ECS cluster. By default, your account will
receive 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.
IMPORTANT: During the preview, each account is limited to two clusters.
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, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getClusterName()
default.default.public void setClusterName(String clusterName)
default.clusterName - The name of your cluster. If you do not specify a name for your
cluster, you will create a cluster named default.public CreateClusterRequest withClusterName(String clusterName)
default.
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 will create a cluster named default.public String toString()
toString in class ObjectObject.toString()public CreateClusterRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.