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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchUpsertTableRowsResponse.BuilderfailedBatchItems(Collection<FailedBatchItem> failedBatchItems)The list of batch items in the request that could not be updated or appended in the table.BatchUpsertTableRowsResponse.BuilderfailedBatchItems(Consumer<FailedBatchItem.Builder>... failedBatchItems)The list of batch items in the request that could not be updated or appended in the table.BatchUpsertTableRowsResponse.BuilderfailedBatchItems(FailedBatchItem... failedBatchItems)The list of batch items in the request that could not be updated or appended in the table.BatchUpsertTableRowsResponse.Builderrows(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.BuilderworkbookCursor(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 Detail
-
rows
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. 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
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.
- 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
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.Builderavoiding the need to create one manually viaFailedBatchItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failedBatchItems(List.) - 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:
#failedBatchItems(java.util.Collection)
-
-