@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 |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique client idempotency token.
|
String |
getClusterName()
The name of the cluster.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique client idempotency token.
|
void |
setClusterName(String clusterName)
The name of the cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateClusterRequest |
withClientToken(String clientToken)
Unique client idempotency token.
|
CreateClusterRequest |
withClusterName(String clusterName)
The name of 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, withSdkRequestTimeout
public void setClientToken(String clientToken)
Unique client idempotency token.
clientToken
- Unique client idempotency token.public String getClientToken()
Unique client idempotency token.
public CreateClusterRequest withClientToken(String clientToken)
Unique client idempotency token.
clientToken
- Unique client idempotency token.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 String toString()
toString
in class Object
Object.toString()
public CreateClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()