public static interface BatchUpsertTableRowsResponse.Builder extends HoneycodeResponse.Builder, SdkPojo, CopyableBuilder<BatchUpsertTableRowsResponse.Builder,BatchUpsertTableRowsResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchUpsertTableRowsResponse.Builder |
failedBatchItems(Collection<FailedBatchItem> failedBatchItems)
The list of batch items in the request that could not be updated or appended in the table.
|
BatchUpsertTableRowsResponse.Builder |
failedBatchItems(Consumer<FailedBatchItem.Builder>... failedBatchItems)
The list of batch items in the request that could not be updated or appended in the table.
|
BatchUpsertTableRowsResponse.Builder |
failedBatchItems(FailedBatchItem... failedBatchItems)
The list of batch items in the request that could not be updated or appended in the table.
|
BatchUpsertTableRowsResponse.Builder |
rows(Map<String,UpsertRowsResult> rows)
A map with the batch item id as the key and the result of the upsert operation as the value.
|
BatchUpsertTableRowsResponse.Builder |
workbookCursor(Long workbookCursor)
The updated workbook cursor after updating or appending rows in the table.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchUpsertTableRowsResponse.Builder rows(Map<String,UpsertRowsResult> 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.
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.BatchUpsertTableRowsResponse.Builder workbookCursor(Long workbookCursor)
The updated workbook cursor after updating or appending rows in the table.
workbookCursor - The updated workbook cursor after updating or appending rows in the table.BatchUpsertTableRowsResponse.Builder failedBatchItems(Collection<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.
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.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.
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.BatchUpsertTableRowsResponse.Builder failedBatchItems(Consumer<FailedBatchItem.Builder>... 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 theFailedBatchItem.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.
failedBatchItems - a consumer that will call methods on
FailedBatchItem.Builder#failedBatchItems(java.util.Collection) Copyright © 2023. All rights reserved.