| Modifier and Type | Method and Description |
|---|---|
default void |
DynamoDbTable.putItem(Consumer<PutItemEnhancedRequest.Builder<T>> requestConsumer)
Puts a single item in the mapped table.
|
default CompletableFuture<Void> |
DynamoDbAsyncTable.putItem(Consumer<PutItemEnhancedRequest.Builder<T>> requestConsumer)
Puts a single item in the mapped table.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
DefaultDynamoDbAsyncTable.putItem(Consumer<PutItemEnhancedRequest.Builder<T>> requestConsumer) |
void |
DefaultDynamoDbTable.putItem(Consumer<PutItemEnhancedRequest.Builder<T>> requestConsumer) |
| Modifier and Type | Method and Description |
|---|---|
static <T> PutItemEnhancedRequest.Builder<T> |
PutItemEnhancedRequest.builder(Class<? extends T> itemClass)
Creates a newly initialized builder for the request object.
|
PutItemEnhancedRequest.Builder<T> |
PutItemEnhancedRequest.Builder.conditionExpression(Expression conditionExpression)
Defines a logical expression on an item's attribute values which, if evaluating to true,
will allow the put operation to succeed.
|
PutItemEnhancedRequest.Builder<T> |
PutItemEnhancedRequest.Builder.item(T item)
Sets the item to write to DynamoDb.
|
PutItemEnhancedRequest.Builder<T> |
PutItemEnhancedRequest.toBuilder()
Returns a builder initialized with all existing values on the request object.
|
| Modifier and Type | Method and Description |
|---|---|
WriteBatch.Builder<T> |
WriteBatch.Builder.addPutItem(Consumer<PutItemEnhancedRequest.Builder<T>> requestConsumer)
Adds a
PutItemEnhancedRequest to the builder, this request should contain the item
to be written. |
Copyright © 2020. All rights reserved.