public class TransactWriteItems extends Object implements DatabaseOperation<TransactWriteItemsRequest,TransactWriteItemsResponse,Void>
Modifier and Type | Class and Description |
---|---|
static class |
TransactWriteItems.Builder |
Modifier and Type | Method and Description |
---|---|
static TransactWriteItems.Builder |
builder() |
boolean |
equals(Object o) |
TransactWriteItemsRequest |
generateRequest(MapperExtension mapperExtension)
This method generates the request that needs to be sent to a low level
DynamoDbClient . |
Function<TransactWriteItemsRequest,TransactWriteItemsResponse> |
getServiceCall(DynamoDbClient dynamoDbClient)
Provides a function for making the low level SDK call to DynamoDb.
|
List<WriteTransaction> |
getWriteTransactions() |
int |
hashCode() |
static TransactWriteItems |
of(List<WriteTransaction> writeTransactions) |
static TransactWriteItems |
of(WriteTransaction... writeTransactions) |
TransactWriteItems.Builder |
toBuilder() |
Void |
transformResponse(TransactWriteItemsResponse 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, wait
execute
public static TransactWriteItems of(List<WriteTransaction> writeTransactions)
public static TransactWriteItems of(WriteTransaction... writeTransactions)
public static TransactWriteItems.Builder builder()
public TransactWriteItems.Builder toBuilder()
public TransactWriteItemsRequest generateRequest(MapperExtension mapperExtension)
DatabaseOperation
DynamoDbClient
.generateRequest
in interface DatabaseOperation<TransactWriteItemsRequest,TransactWriteItemsResponse,Void>
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 Void transformResponse(TransactWriteItemsResponse response, MapperExtension mapperExtension)
DatabaseOperation
transformResponse
in interface DatabaseOperation<TransactWriteItemsRequest,TransactWriteItemsResponse,Void>
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<TransactWriteItemsRequest,TransactWriteItemsResponse> getServiceCall(DynamoDbClient dynamoDbClient)
DatabaseOperation
getServiceCall
in interface DatabaseOperation<TransactWriteItemsRequest,TransactWriteItemsResponse,Void>
dynamoDbClient
- A low level DynamoDbClient
to make the call against.public List<WriteTransaction> getWriteTransactions()
Copyright © 2019. All rights reserved.