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. Creating an BeanTableSchema is a moderately expensive operation, and should be performed sparingly. This is usually done once at application startup.
        Type Parameters:
        T - The bean class type.
        Parameters:
        beanClass - The bean class to build the table schema from.
        Returns:
        An initialized BeanTableSchema

Copyright © 2022. All rights reserved.