Interface BatchDeleteTableRowsResponse.Builder

    • Method Detail

      • workbookCursor

        BatchDeleteTableRowsResponse.Builder workbookCursor​(Long workbookCursor)

        The updated workbook cursor after deleting the rows from the table.

        Parameters:
        workbookCursor - The updated workbook cursor after deleting the rows from the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failedBatchItems

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

        The list of row ids in the request that could not be deleted from the table. Each element in this list contains one row id from the request that could not be deleted along with the reason why that item could not be deleted.

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

        BatchDeleteTableRowsResponse.Builder failedBatchItems​(FailedBatchItem... failedBatchItems)

        The list of row ids in the request that could not be deleted from the table. Each element in this list contains one row id from the request that could not be deleted along with the reason why that item could not be deleted.

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

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

        The list of row ids in the request that could not be deleted from the table. Each element in this list contains one row id from the request that could not be deleted along with the reason why that item could not be deleted.

        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)