Class CreateDynamoDBTableOptions


  • public class CreateDynamoDBTableOptions
    extends Object
    An options class for the createDynamoDBTable method in the lock client. This allows the user to create a DynamoDB table that is lock client-compatible and specify optional parameters such as the desired throughput and whether or not to use a sort key.
    Author:
    slutsker
    • Method Detail

      • builder

        public static CreateDynamoDBTableOptions.CreateDynamoDBTableOptionsBuilder builder​(software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamoDBClient,
                                                                                           software.amazon.awssdk.services.dynamodb.model.ProvisionedThroughput provisionedThroughput,
                                                                                           String tableName)
        Creates a builder for a CreateDynamoDBTableOptions object. The three required parameters are the DynamoDB client, the provisioned throughout, and the table name. The rest have defaults and can be configured after the fact.
        Parameters:
        dynamoDBClient - The DynamoDB Client under which to make the table.
        provisionedThroughput - The throughout to allocate to the table.
        tableName - The table name to create.
        Returns:
        a builder for CreateDynamoDBTableOptions instances