Uses of Class
software.amazon.lambda.powertools.idempotency.persistence.dynamodb.DynamoDBPersistenceStore.Builder
-
Uses of DynamoDBPersistenceStore.Builder in software.amazon.lambda.powertools.idempotency.persistence.dynamodb
Methods in software.amazon.lambda.powertools.idempotency.persistence.dynamodb that return DynamoDBPersistenceStore.BuilderModifier and TypeMethodDescriptionDynamoDBPersistenceStore.builder()DynamoDBPersistenceStore.Builder.withDataAttr(String dataAttr) DynamoDB attribute name for response data (optional), by default "data"DynamoDBPersistenceStore.Builder.withDynamoDbClient(software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamoDbClient) CustomDynamoDbClientused to query DynamoDB (optional).
The default one usesUrlConnectionHttpClientas a http client and add com.amazonaws.xray.interceptors.TracingInterceptor (X-Ray) if available in the classpath.DynamoDBPersistenceStore.Builder.withExpiryAttr(String expiryAttr) DynamoDB attribute name for expiry timestamp (optional), by default "expiration"DynamoDBPersistenceStore.Builder.withInProgressExpiryAttr(String inProgressExpiryAttr) DynamoDB attribute name for in progress expiry timestamp (optional), by default "in_progress_expiration"DynamoDBPersistenceStore.Builder.withKeyAttr(String keyAttr) DynamoDB attribute name for partition key (optional), by default "id"DynamoDBPersistenceStore.Builder.withSortKeyAttr(String sortKeyAttr) DynamoDB attribute name for the sort key (optional)DynamoDBPersistenceStore.Builder.withStaticPkValue(String staticPkValue) DynamoDB attribute value for partition key (optional), by default "idempotency#[function-name]".DynamoDBPersistenceStore.Builder.withStatusAttr(String statusAttr) DynamoDB attribute name for status (optional), by default "status"DynamoDBPersistenceStore.Builder.withTableName(String tableName) Name of the table to use for storing execution records (mandatory)DynamoDBPersistenceStore.Builder.withValidationAttr(String validationAttr) DynamoDB attribute name for validation (optional), by default "validation"