Interface BatchUpsertTableRowsResponse.Builder

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

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

    • rows

      A map with the batch item id as the key and the result of the upsert operation as the value. The result of the upsert operation specifies whether existing rows were updated or a new row was appended, along with the list of row ids that were affected.

      Parameters:
      rows - A map with the batch item id as the key and the result of the upsert operation as the value. The result of the upsert operation specifies whether existing rows were updated or a new row was appended, along with the list of row ids that were affected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workbookCursor

      BatchUpsertTableRowsResponse.Builder workbookCursor(Long workbookCursor)

      The updated workbook cursor after updating or appending rows in the table.

      Parameters:
      workbookCursor - The updated workbook cursor after updating or appending rows in the table.
      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 updated or appended 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 or appended.

      Parameters:
      failedBatchItems - The list of batch items in the request that could not be updated or appended 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 or appended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedBatchItems

      BatchUpsertTableRowsResponse.Builder failedBatchItems(FailedBatchItem... failedBatchItems)

      The list of batch items in the request that could not be updated or appended 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 or appended.

      Parameters:
      failedBatchItems - The list of batch items in the request that could not be updated or appended 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 or appended.
      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 updated or appended 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 or appended.

      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: