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

Class ImmutableTableSchema<T>

    • Method Detail

      • create

        public static <T> ImmutableTableSchema<T> create(Class<T> immutableClass)
        Scans an immutable class and builds an ImmutableTableSchema from it that can be used with the DynamoDbEnhancedClient. Creating an ImmutableTableSchema is a moderately expensive operation, and should be performed sparingly. This is usually done once at application startup.
        Type Parameters:
        T - The immutable class type.
        Parameters:
        immutableClass - The annotated immutable class to build the table schema from.
        Returns:
        An initialized ImmutableTableSchema

Copyright © 2021. All rights reserved.