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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResizeClusterRequest.Builder
classic(Boolean classic)
A boolean value indicating whether the resize operation is using the classic resize process.ResizeClusterRequest.Builder
clusterIdentifier(String clusterIdentifier)
The unique identifier for the cluster to resize.ResizeClusterRequest.Builder
clusterType(String clusterType)
The new cluster type for the specified cluster.ResizeClusterRequest.Builder
nodeType(String nodeType)
The new node type for the nodes you are adding.ResizeClusterRequest.Builder
numberOfNodes(Integer numberOfNodes)
The new number of nodes for the cluster.ResizeClusterRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ResizeClusterRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ResizeClusterRequest.Builder
reservedNodeId(String reservedNodeId)
The identifier of the reserved node.ResizeClusterRequest.Builder
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 Detail
-
clusterIdentifier
ResizeClusterRequest.Builder clusterIdentifier(String 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
ResizeClusterRequest.Builder clusterType(String 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
ResizeClusterRequest.Builder nodeType(String 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
ResizeClusterRequest.Builder numberOfNodes(Integer 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
ResizeClusterRequest.Builder classic(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.- 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
ResizeClusterRequest.Builder reservedNodeId(String 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
ResizeClusterRequest.Builder targetReservedNodeOfferingId(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ResizeClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-