Interface BatchUpdateTableRowsResponse.Builder

    • Method Detail

      • workbookCursor

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

        BatchUpdateTableRowsResponse.Builder failedBatchItems​(Collection<FailedBatchItem> failedBatchItems)

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

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

        BatchUpdateTableRowsResponse.Builder failedBatchItems​(FailedBatchItem... failedBatchItems)

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

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

        BatchUpdateTableRowsResponse.Builder failedBatchItems​(Consumer<FailedBatchItem.Builder>... failedBatchItems)

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

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

        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:
        #failedBatchItems(java.util.Collection)