Interface BatchStatementResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchStatementResponse.Builder,,BatchStatementResponse> SdkBuilder<BatchStatementResponse.Builder,,BatchStatementResponse> SdkPojo
- Enclosing class:
BatchStatementResponse
@Mutable
@NotThreadSafe
public static interface BatchStatementResponse.Builder
extends SdkPojo, CopyableBuilder<BatchStatementResponse.Builder,BatchStatementResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchStatementResponse.Buildererror(Consumer<BatchStatementError.Builder> error) The error associated with a failed PartiQL batch statement.error(BatchStatementError error) The error associated with a failed PartiQL batch statement.item(Map<String, AttributeValue> item) A DynamoDB item associated with a BatchStatementResponseThe table name associated with a failed PartiQL batch statement.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
error
The error associated with a failed PartiQL batch statement.
- Parameters:
error- The error associated with a failed PartiQL batch statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The error associated with a failed PartiQL batch statement.
This is a convenience method that creates an instance of theBatchStatementError.Builderavoiding the need to create one manually viaBatchStatementError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(BatchStatementError).- Parameters:
error- a consumer that will call methods onBatchStatementError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tableName
The table name associated with a failed PartiQL batch statement.
- Parameters:
tableName- The table name associated with a failed PartiQL batch statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
A DynamoDB item associated with a BatchStatementResponse
- Parameters:
item- A DynamoDB item associated with a BatchStatementResponse- Returns:
- Returns a reference to this object so that method calls can be chained together.
-