Interface ResizeClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ResizeClusterRequest.Builder,
,ResizeClusterRequest> RedshiftRequest.Builder
,SdkBuilder<ResizeClusterRequest.Builder,
,ResizeClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ResizeClusterRequest
public static interface ResizeClusterRequest.Builder
extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<ResizeClusterRequest.Builder,ResizeClusterRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA boolean value indicating whether the resize operation is using the classic resize process.clusterIdentifier
(String clusterIdentifier) The unique identifier for the cluster to resize.clusterType
(String clusterType) The new cluster type for the specified cluster.The new node type for the nodes you are adding.numberOfNodes
(Integer numberOfNodes) The new number of nodes for the cluster.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.reservedNodeId
(String reservedNodeId) The identifier of the reserved node.targetReservedNodeOfferingId
(String targetReservedNodeOfferingId) The identifier of the target reserved node offering.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterIdentifier
The unique identifier for the cluster to resize.
- Parameters:
clusterIdentifier
- The unique identifier for the cluster to resize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterType
The new cluster type for the specified cluster.
- Parameters:
clusterType
- The new cluster type for the specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.
- Parameters:
nodeType
- The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfNodes
The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.
- Parameters:
numberOfNodes
- The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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 tofalse
, the resize type is elastic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedNodeId
The identifier of the reserved node.
- Parameters:
reservedNodeId
- The identifier of the reserved node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetReservedNodeOfferingId
The identifier of the target reserved node offering.
- Parameters:
targetReservedNodeOfferingId
- The identifier of the target reserved node offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ResizeClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ResizeClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-