Interface BatchCreateTableRowsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchCreateTableRowsResponse.Builder,BatchCreateTableRowsResponse>,HoneycodeResponse.Builder,SdkBuilder<BatchCreateTableRowsResponse.Builder,BatchCreateTableRowsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchCreateTableRowsResponse
public static interface BatchCreateTableRowsResponse.Builder extends HoneycodeResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateTableRowsResponse.Builder,BatchCreateTableRowsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchCreateTableRowsResponse.BuildercreatedRows(Map<String,String> createdRows)The map of batch item id to the row id that was created for that item.BatchCreateTableRowsResponse.BuilderfailedBatchItems(Collection<FailedBatchItem> failedBatchItems)The list of batch items in the request that could not be added to the table.BatchCreateTableRowsResponse.BuilderfailedBatchItems(Consumer<FailedBatchItem.Builder>... failedBatchItems)The list of batch items in the request that could not be added to the table.BatchCreateTableRowsResponse.BuilderfailedBatchItems(FailedBatchItem... failedBatchItems)The list of batch items in the request that could not be added to the table.BatchCreateTableRowsResponse.BuilderworkbookCursor(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 Detail
-
workbookCursor
BatchCreateTableRowsResponse.Builder workbookCursor(Long 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
BatchCreateTableRowsResponse.Builder createdRows(Map<String,String> 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
BatchCreateTableRowsResponse.Builder failedBatchItems(Collection<FailedBatchItem> 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(FailedBatchItem... 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.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)
-
-