Interface BatchStatementError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchStatementError.Builder,BatchStatementError>,SdkBuilder<BatchStatementError.Builder,BatchStatementError>,SdkPojo
- Enclosing class:
- BatchStatementError
@Mutable @NotThreadSafe public static interface BatchStatementError.Builder extends SdkPojo, CopyableBuilder<BatchStatementError.Builder,BatchStatementError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchStatementError.Buildercode(String code)The error code associated with the failed PartiQL batch statement.BatchStatementError.Buildercode(BatchStatementErrorCodeEnum code)The error code associated with the failed PartiQL batch statement.BatchStatementError.Builderitem(Map<String,AttributeValue> item)The item which caused the condition check to fail.BatchStatementError.Buildermessage(String message)The error message associated with the PartiQL batch response.-
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
-
code
BatchStatementError.Builder code(String code)
The error code associated with the failed PartiQL batch statement.
- Parameters:
code- The error code associated with the failed PartiQL batch statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BatchStatementErrorCodeEnum,BatchStatementErrorCodeEnum
-
code
BatchStatementError.Builder code(BatchStatementErrorCodeEnum code)
The error code associated with the failed PartiQL batch statement.
- Parameters:
code- The error code associated with the failed PartiQL batch statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BatchStatementErrorCodeEnum,BatchStatementErrorCodeEnum
-
message
BatchStatementError.Builder message(String message)
The error message associated with the PartiQL batch response.
- Parameters:
message- The error message associated with the PartiQL batch response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
BatchStatementError.Builder item(Map<String,AttributeValue> item)
The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as
ALL_OLD.- Parameters:
item- The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified asALL_OLD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-