Interface BatchUpsertTableRowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchUpsertTableRowsResponse.Builder,
,BatchUpsertTableRowsResponse> HoneycodeResponse.Builder
,SdkBuilder<BatchUpsertTableRowsResponse.Builder,
,BatchUpsertTableRowsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchUpsertTableRowsResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailedBatchItems
(Collection<FailedBatchItem> failedBatchItems) The list of batch items in the request that could not be updated or appended in the table.failedBatchItems
(Consumer<FailedBatchItem.Builder>... failedBatchItems) The list of batch items in the request that could not be updated or appended in the table.failedBatchItems
(FailedBatchItem... failedBatchItems) The list of batch items in the request that could not be updated or appended in the table.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.workbookCursor
(Long workbookCursor) The updated workbook cursor after updating or appending rows in the table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.honeycode.model.HoneycodeResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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
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(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 viaFailedBatchItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedBatchItems(List<FailedBatchItem>)
.- Parameters:
failedBatchItems
- a consumer that will call methods onFailedBatchItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-