public class BatchWriteItem extends Object implements DatabaseOperation<BatchWriteItemRequest,BatchWriteItemResponse,BatchWriteItem.BatchWriteItemResults>
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchWriteItem.BatchWriteItemResults |
static class |
BatchWriteItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchWriteItem.Builder |
builder() |
boolean |
equals(Object o) |
BatchWriteItemRequest |
generateRequest(MapperExtension mapperExtension)
This method generates the request that needs to be sent to a low level
DynamoDbClient. |
Function<BatchWriteItemRequest,BatchWriteItemResponse> |
getServiceCall(DynamoDbClient dynamoDbClient)
Provides a function for making the low level SDK call to DynamoDb.
|
Collection<WriteBatch> |
getWriteBatches() |
int |
hashCode() |
static BatchWriteItem |
of(Collection<WriteBatch> writeBatches) |
static BatchWriteItem |
of(WriteBatch... writeBatches) |
BatchWriteItem.Builder |
toBuilder() |
BatchWriteItem.BatchWriteItemResults |
transformResponse(BatchWriteItemResponse response,
MapperExtension mapperExtension)
Takes the response object returned by the actual DynamoDb call and maps it into a higher level abstracted
result object.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitexecutepublic static BatchWriteItem of(Collection<WriteBatch> writeBatches)
public static BatchWriteItem of(WriteBatch... writeBatches)
public static BatchWriteItem.Builder builder()
public BatchWriteItem.Builder toBuilder()
public BatchWriteItemRequest generateRequest(MapperExtension mapperExtension)
DatabaseOperationDynamoDbClient.generateRequest in interface DatabaseOperation<BatchWriteItemRequest,BatchWriteItemResponse,BatchWriteItem.BatchWriteItemResults>mapperExtension - A MapperExtension that may modify the request of this operation. A null value
here will result in no modifications.DynamoDbClient call to perform the operation.public BatchWriteItem.BatchWriteItemResults transformResponse(BatchWriteItemResponse response, MapperExtension mapperExtension)
DatabaseOperationtransformResponse in interface DatabaseOperation<BatchWriteItemRequest,BatchWriteItemResponse,BatchWriteItem.BatchWriteItemResults>response - The response object returned by the DynamoDb call for this operation.mapperExtension - A MapperExtension that may modify the result of this operation. A null value
here will result in no modifications.public Function<BatchWriteItemRequest,BatchWriteItemResponse> getServiceCall(DynamoDbClient dynamoDbClient)
DatabaseOperationgetServiceCall in interface DatabaseOperation<BatchWriteItemRequest,BatchWriteItemResponse,BatchWriteItem.BatchWriteItemResults>dynamoDbClient - A low level DynamoDbClient to make the call against.public Collection<WriteBatch> getWriteBatches()
Copyright © 2019. All rights reserved.