Skip navigation links

AWS SDK for Java API Reference - 2.17.43

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