@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResizeClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ResizeClusterRequest() |
Modifier and Type | Method and Description |
---|---|
ResizeClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getClassic()
A boolean value indicating whether the resize operation is using the classic resize process.
|
String |
getClusterIdentifier()
The unique identifier for the cluster to resize.
|
String |
getClusterType()
The new cluster type for the specified cluster.
|
String |
getNodeType()
The new node type for the nodes you are adding.
|
Integer |
getNumberOfNodes()
The new number of nodes for the cluster.
|
int |
hashCode() |
Boolean |
isClassic()
A boolean value indicating whether the resize operation is using the classic resize process.
|
void |
setClassic(Boolean classic)
A boolean value indicating whether the resize operation is using the classic resize process.
|
void |
setClusterIdentifier(String clusterIdentifier)
The unique identifier for the cluster to resize.
|
void |
setClusterType(String clusterType)
The new cluster type for the specified cluster.
|
void |
setNodeType(String nodeType)
The new node type for the nodes you are adding.
|
void |
setNumberOfNodes(Integer numberOfNodes)
The new number of nodes for the cluster.
|
String |
toString()
Returns a string representation of this object.
|
ResizeClusterRequest |
withClassic(Boolean classic)
A boolean value indicating whether the resize operation is using the classic resize process.
|
ResizeClusterRequest |
withClusterIdentifier(String clusterIdentifier)
The unique identifier for the cluster to resize.
|
ResizeClusterRequest |
withClusterType(String clusterType)
The new cluster type for the specified cluster.
|
ResizeClusterRequest |
withNodeType(String nodeType)
The new node type for the nodes you are adding.
|
ResizeClusterRequest |
withNumberOfNodes(Integer numberOfNodes)
The new number of nodes for 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 setClusterIdentifier(String clusterIdentifier)
The unique identifier for the cluster to resize.
clusterIdentifier
- The unique identifier for the cluster to resize.public String getClusterIdentifier()
The unique identifier for the cluster to resize.
public ResizeClusterRequest withClusterIdentifier(String clusterIdentifier)
The unique identifier for the cluster to resize.
clusterIdentifier
- The unique identifier for the cluster to resize.public void setClusterType(String clusterType)
The new cluster type for the specified cluster.
clusterType
- The new cluster type for the specified cluster.public String getClusterType()
The new cluster type for the specified cluster.
public ResizeClusterRequest withClusterType(String clusterType)
The new cluster type for the specified cluster.
clusterType
- The new cluster type for the specified cluster.public void setNodeType(String nodeType)
The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.
nodeType
- The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.public String getNodeType()
The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.
public ResizeClusterRequest withNodeType(String nodeType)
The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.
nodeType
- The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.public void setNumberOfNodes(Integer numberOfNodes)
The new number of nodes for the cluster.
numberOfNodes
- The new number of nodes for the cluster.public Integer getNumberOfNodes()
The new number of nodes for the cluster.
public ResizeClusterRequest withNumberOfNodes(Integer numberOfNodes)
The new number of nodes for the cluster.
numberOfNodes
- The new number of nodes for the cluster.public void setClassic(Boolean classic)
A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide
this parameter or set the value to false
, the resize type is elastic.
classic
- A boolean value indicating whether the resize operation is using the classic resize process. If you don't
provide this parameter or set the value to false
, the resize type is elastic.public Boolean getClassic()
A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide
this parameter or set the value to false
, the resize type is elastic.
false
, the resize type is elastic.public ResizeClusterRequest withClassic(Boolean classic)
A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide
this parameter or set the value to false
, the resize type is elastic.
classic
- A boolean value indicating whether the resize operation is using the classic resize process. If you don't
provide this parameter or set the value to false
, the resize type is elastic.public Boolean isClassic()
A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide
this parameter or set the value to false
, the resize type is elastic.
false
, the resize type is elastic.public String toString()
toString
in class Object
Object.toString()
public ResizeClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.