Skip navigation links
software.amazon.awssdk.enhanced.dynamodb.mapper

Class BeanTableSchema<T>

    • Method Detail

      • create

        public static <T> BeanTableSchema<T> create(Class<T> beanClass)
        Scans a bean class and builds a BeanTableSchema from it that can be used with the DynamoDbEnhancedClient.

        It's recommended to only create a BeanTableSchema once for a single bean class, usually at application start up, because it's a moderately expensive operation.

        Type Parameters:
        T - The bean class type.
        Parameters:
        beanClass - The bean class to build the table schema from.
        Returns:
        An initialized BeanTableSchema

Copyright © 2023. All rights reserved.