Interface BatchCreateTableRowsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<BatchCreateTableRowsResponse.Builder,BatchCreateTableRowsResponse>, HoneycodeResponse.Builder, SdkBuilder<BatchCreateTableRowsResponse.Builder,BatchCreateTableRowsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
BatchCreateTableRowsResponse

public static interface BatchCreateTableRowsResponse.Builder extends HoneycodeResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateTableRowsResponse.Builder,BatchCreateTableRowsResponse>
  • Method Details

    • workbookCursor

      BatchCreateTableRowsResponse.Builder workbookCursor(Long workbookCursor)

      The updated workbook cursor after adding the new rows at the end of the table.

      Parameters:
      workbookCursor - The updated workbook cursor after adding the new rows at the end of the table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdRows

      The map of batch item id to the row id that was created for that item.

      Parameters:
      createdRows - The map of batch item id to the row id that was created for that item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedBatchItems

      The list of batch items in the request that could not be added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.

      Parameters:
      failedBatchItems - The list of batch items in the request that could not be added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedBatchItems

      BatchCreateTableRowsResponse.Builder failedBatchItems(FailedBatchItem... failedBatchItems)

      The list of batch items in the request that could not be added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.

      Parameters:
      failedBatchItems - The list of batch items in the request that could not be added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedBatchItems

      The list of batch items in the request that could not be added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.

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

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

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