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 Details

    • 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

      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

      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 to false, 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.