Interface BatchCreateTableRowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchCreateTableRowsResponse.Builder,
,BatchCreateTableRowsResponse> HoneycodeResponse.Builder
,SdkBuilder<BatchCreateTableRowsResponse.Builder,
,BatchCreateTableRowsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchCreateTableRowsResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedRows
(Map<String, String> createdRows) The map of batch item id to the row id that was created for that item.failedBatchItems
(Collection<FailedBatchItem> failedBatchItems) The list of batch items in the request that could not be added to the table.failedBatchItems
(Consumer<FailedBatchItem.Builder>... failedBatchItems) The list of batch items in the request that could not be added to the table.failedBatchItems
(FailedBatchItem... failedBatchItems) The list of batch items in the request that could not be added to the table.workbookCursor
(Long workbookCursor) The updated workbook cursor after adding the new rows at the end of 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
-
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.
-
createdRows
The map of batch item id to the row id that was created for that item.
- Parameters:
createdRows
- The map of batch item id to the row id that was created for that item.- 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 added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.
- Parameters:
failedBatchItems
- The list of batch items in the request that could not be added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.- 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 added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.
- Parameters:
failedBatchItems
- The list of batch items in the request that could not be added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedBatchItems
BatchCreateTableRowsResponse.Builder failedBatchItems(Consumer<FailedBatchItem.Builder>... failedBatchItems) The list of batch items in the request that could not be added to the table. Each element in this list contains one item from the request that could not be added to the table along with the reason why that item could not be added.
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:
-