Interface ResizeClusterRequest.Builder

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