Skip navigation links

AWS SDK for Java API Reference - 2.17.4

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.
        immutableClass - The annotated immutable class to build the table schema from.
        An initialized ImmutableTableSchema