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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchStatementResponse.Buildererror(Consumer<BatchStatementError.Builder> error)The error associated with a failed PartiQL batch statement.BatchStatementResponse.Buildererror(BatchStatementError error)The error associated with a failed PartiQL batch statement.BatchStatementResponse.Builderitem(Map<String,AttributeValue> item)A DynamoDB item associated with a BatchStatementResponseBatchStatementResponse.BuildertableName(String tableName)The table name associated with a failed PartiQL batch statement.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
error
BatchStatementResponse.Builder error(BatchStatementError 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
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.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:
error(BatchStatementError)
-
tableName
BatchStatementResponse.Builder tableName(String 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
BatchStatementResponse.Builder item(Map<String,AttributeValue> 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.
-
-