Class ResizeClusterRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshift.model.RedshiftRequest
-
- software.amazon.awssdk.services.redshift.model.ResizeClusterRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ResizeClusterRequest.Builder,ResizeClusterRequest>
@Generated("software.amazon.awssdk:codegen") public final class ResizeClusterRequest extends RedshiftRequest implements ToCopyableBuilder<ResizeClusterRequest.Builder,ResizeClusterRequest>
Describes a resize cluster operation. For example, a scheduled action to run the
ResizeCluster
API operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ResizeClusterRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResizeClusterRequest.Builder
builder()
Boolean
classic()
A boolean value indicating whether the resize operation is using the classic resize process.String
clusterIdentifier()
The unique identifier for the cluster to resize.String
clusterType()
The new cluster type for the specified cluster.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
nodeType()
The new node type for the nodes you are adding.Integer
numberOfNodes()
The new number of nodes for the cluster.String
reservedNodeId()
The identifier of the reserved node.List<SdkField<?>>
sdkFields()
static Class<? extends ResizeClusterRequest.Builder>
serializableBuilderClass()
String
targetReservedNodeOfferingId()
The identifier of the target reserved node offering.ResizeClusterRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clusterIdentifier
public final String clusterIdentifier()
The unique identifier for the cluster to resize.
- Returns:
- The unique identifier for the cluster to resize.
-
clusterType
public final String clusterType()
The new cluster type for the specified cluster.
- Returns:
- The new cluster type for the specified cluster.
-
nodeType
public final String nodeType()
The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.
- Returns:
- The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.
-
numberOfNodes
public final Integer numberOfNodes()
The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.
- Returns:
- The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.
-
classic
public final 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.- Returns:
- 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.
-
reservedNodeId
public final String reservedNodeId()
The identifier of the reserved node.
- Returns:
- The identifier of the reserved node.
-
targetReservedNodeOfferingId
public final String targetReservedNodeOfferingId()
The identifier of the target reserved node offering.
- Returns:
- The identifier of the target reserved node offering.
-
toBuilder
public ResizeClusterRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ResizeClusterRequest.Builder,ResizeClusterRequest>
- Specified by:
toBuilder
in classRedshiftRequest
-
builder
public static ResizeClusterRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResizeClusterRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-