Interface ResizeClusterMessage.Builder

  • Method Details

    • clusterIdentifier

      ResizeClusterMessage.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

      ResizeClusterMessage.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

      ResizeClusterMessage.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

      ResizeClusterMessage.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

      ResizeClusterMessage.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.