Interface BatchRebootClusterNodesResponse.Builder

  • Method Details

    • successful

      A list of EC2 instance IDs for which the reboot operation was successfully initiated.

      Parameters:
      successful - A list of EC2 instance IDs for which the reboot operation was successfully initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successful

      A list of EC2 instance IDs for which the reboot operation was successfully initiated.

      Parameters:
      successful - A list of EC2 instance IDs for which the reboot operation was successfully initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failed

      A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.

      Parameters:
      failed - A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failed

      A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.

      Parameters:
      failed - A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failed

      A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.

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

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

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

      A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when NodeLogicalIds were provided in the request.

      Parameters:
      failedNodeLogicalIds - A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when NodeLogicalIds were provided in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedNodeLogicalIds

      A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when NodeLogicalIds were provided in the request.

      Parameters:
      failedNodeLogicalIds - A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when NodeLogicalIds were provided in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedNodeLogicalIds

      A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when NodeLogicalIds were provided in the request.

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

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

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

      BatchRebootClusterNodesResponse.Builder successfulNodeLogicalIds(Collection<String> successfulNodeLogicalIds)

      A list of logical node IDs for which the reboot operation was successfully initiated. This field is only present when NodeLogicalIds were provided in the request.

      Parameters:
      successfulNodeLogicalIds - A list of logical node IDs for which the reboot operation was successfully initiated. This field is only present when NodeLogicalIds were provided in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successfulNodeLogicalIds

      BatchRebootClusterNodesResponse.Builder successfulNodeLogicalIds(String... successfulNodeLogicalIds)

      A list of logical node IDs for which the reboot operation was successfully initiated. This field is only present when NodeLogicalIds were provided in the request.

      Parameters:
      successfulNodeLogicalIds - A list of logical node IDs for which the reboot operation was successfully initiated. This field is only present when NodeLogicalIds were provided in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.