Class PutBuilder<T>

java.lang.Object
dev.hogwai.dynamodb.simplified.builder.base.AbstractPutBuilder<T, PutBuilder<T>>
dev.hogwai.dynamodb.simplified.builder.PutBuilder<T>
Type Parameters:
T - the type of the item

public class PutBuilder<T> extends AbstractPutBuilder<T, PutBuilder<T>>
A fluent builder for putting (inserting or replacing) an item in a DynamoDB table, with an optional condition expression. Part of the DynamoDB Simplified library.
  • Constructor Details

    • PutBuilder

      public PutBuilder(@NonNull software.amazon.awssdk.enhanced.dynamodb.DynamoDbTable<T> table, @NonNull T item, @NonNull software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamoDbClient)
      Constructs a new PutBuilder for the given table and item.
      Parameters:
      table - the DynamoDB table
      item - the item to put
      dynamoDbClient - the low-level DynamoDB client (required for return values)
  • Method Details