@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResizeClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Describes a resize cluster operation. For example, a scheduled action to run the ResizeCluster
API
operation.
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.
|
String |
getReservedNodeId()
The identifier of the reserved node.
|
String |
getTargetReservedNodeOfferingId()
The identifier of the target reserved node offering.
|
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.
|
void |
setReservedNodeId(String reservedNodeId)
The identifier of the reserved node.
|
void |
setTargetReservedNodeOfferingId(String targetReservedNodeOfferingId)
The identifier of the target reserved node offering.
|
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.
|
ResizeClusterRequest |
withReservedNodeId(String reservedNodeId)
The identifier of the reserved node.
|
ResizeClusterRequest |
withTargetReservedNodeOfferingId(String targetReservedNodeOfferingId)
The identifier of the target reserved node offering.
|
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. If not specified, the cluster's current number of nodes is used.
numberOfNodes
- The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.public Integer getNumberOfNodes()
The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.
public ResizeClusterRequest withNumberOfNodes(Integer numberOfNodes)
The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.
numberOfNodes
- The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.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 void setReservedNodeId(String reservedNodeId)
The identifier of the reserved node.
reservedNodeId
- The identifier of the reserved node.public String getReservedNodeId()
The identifier of the reserved node.
public ResizeClusterRequest withReservedNodeId(String reservedNodeId)
The identifier of the reserved node.
reservedNodeId
- The identifier of the reserved node.public void setTargetReservedNodeOfferingId(String targetReservedNodeOfferingId)
The identifier of the target reserved node offering.
targetReservedNodeOfferingId
- The identifier of the target reserved node offering.public String getTargetReservedNodeOfferingId()
The identifier of the target reserved node offering.
public ResizeClusterRequest withTargetReservedNodeOfferingId(String targetReservedNodeOfferingId)
The identifier of the target reserved node offering.
targetReservedNodeOfferingId
- The identifier of the target reserved node offering.public String toString()
toString
in class Object
Object.toString()
public ResizeClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()