Interface MoveClusterNodesResponse.Builder

  • Method Details

    • successful

      This list contains the instance IDs of the nodes that were accepted for the move. The response includes this list when you specify NodeIds or InstanceCount.

      Parameters:
      successful - This list contains the instance IDs of the nodes that were accepted for the move. The response includes this list when you specify NodeIds or InstanceCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successful

      MoveClusterNodesResponse.Builder successful(String... successful)

      This list contains the instance IDs of the nodes that were accepted for the move. The response includes this list when you specify NodeIds or InstanceCount.

      Parameters:
      successful - This list contains the instance IDs of the nodes that were accepted for the move. The response includes this list when you specify NodeIds or InstanceCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failed

      The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specify NodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.

      Parameters:
      failed - The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specify NodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failed

      The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specify NodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.

      Parameters:
      failed - The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specify NodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failed

      The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specify NodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.

      This is a convenience method that creates an instance of the MoveClusterNodesError.Builder avoiding the need to create one manually via MoveClusterNodesError.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to failed(List<MoveClusterNodesError>).

      Parameters:
      failed - a consumer that will call methods on MoveClusterNodesError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • successfulNodeLogicalIds

      MoveClusterNodesResponse.Builder successfulNodeLogicalIds(Collection<String> successfulNodeLogicalIds)

      The NodeLogicalIds of the nodes that were accepted for the move. The response includes this list when you specify NodeLogicalIds.

      Parameters:
      successfulNodeLogicalIds - The NodeLogicalIds of the nodes that were accepted for the move. The response includes this list when you specify NodeLogicalIds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successfulNodeLogicalIds

      MoveClusterNodesResponse.Builder successfulNodeLogicalIds(String... successfulNodeLogicalIds)

      The NodeLogicalIds of the nodes that were accepted for the move. The response includes this list when you specify NodeLogicalIds.

      Parameters:
      successfulNodeLogicalIds - The NodeLogicalIds of the nodes that were accepted for the move. The response includes this list when you specify NodeLogicalIds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedNodeLogicalIds

      MoveClusterNodesResponse.Builder failedNodeLogicalIds(Collection<MoveClusterNodeLogicalIdsError> failedNodeLogicalIds)

      The NodeLogicalIds that could not be moved, each with an error code and message. The response includes this list when you specify NodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.

      Parameters:
      failedNodeLogicalIds - The NodeLogicalIds that could not be moved, each with an error code and message. The response includes this list when you specify NodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedNodeLogicalIds

      MoveClusterNodesResponse.Builder failedNodeLogicalIds(MoveClusterNodeLogicalIdsError... failedNodeLogicalIds)

      The NodeLogicalIds that could not be moved, each with an error code and message. The response includes this list when you specify NodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.

      Parameters:
      failedNodeLogicalIds - The NodeLogicalIds that could not be moved, each with an error code and message. The response includes this list when you specify NodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedNodeLogicalIds

      The NodeLogicalIds that could not be moved, each with an error code and message. The response includes this list when you specify NodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.

      This is a convenience method that creates an instance of the MoveClusterNodeLogicalIdsError.Builder avoiding the need to create one manually via MoveClusterNodeLogicalIdsError.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to failedNodeLogicalIds(List<MoveClusterNodeLogicalIdsError>).

      Parameters:
      failedNodeLogicalIds - a consumer that will call methods on MoveClusterNodeLogicalIdsError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: