public static interface BatchStatementResponse.Builder extends SdkPojo, CopyableBuilder<BatchStatementResponse.Builder,BatchStatementResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchStatementResponse.Builder |
error(BatchStatementError error)
The error associated with a failed PartiQL batch statement.
|
default BatchStatementResponse.Builder |
error(Consumer<BatchStatementError.Builder> error)
The error associated with a failed PartiQL batch statement.
|
BatchStatementResponse.Builder |
item(Map<String,AttributeValue> item)
A DynamoDB item associated with a BatchStatementResponse
|
BatchStatementResponse.Builder |
tableName(String tableName)
The table name associated with a failed PartiQL batch statement.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchStatementResponse.Builder error(BatchStatementError error)
The error associated with a failed PartiQL batch statement.
error - The error associated with a failed PartiQL batch statement.default BatchStatementResponse.Builder error(Consumer<BatchStatementError.Builder> error)
The error associated with a failed PartiQL batch statement.
This is a convenience method that creates an instance of theBatchStatementError.Builder avoiding the
need to create one manually via BatchStatementError.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to error(BatchStatementError).
error - a consumer that will call methods on BatchStatementError.Buildererror(BatchStatementError)BatchStatementResponse.Builder tableName(String tableName)
The table name associated with a failed PartiQL batch statement.
tableName - The table name associated with a failed PartiQL batch statement.BatchStatementResponse.Builder item(Map<String,AttributeValue> item)
A DynamoDB item associated with a BatchStatementResponse
item - A DynamoDB item associated with a BatchStatementResponseCopyright © 2022. All rights reserved.