title: AWS DynamoDB SDK 2.x - can I reuse DynamoDbMapper's annotations?
body: <p>We have quite a few entities written for AWS DynamoDbMapper.</p>
  <p>I have found that 2.x offers &quot;DynamoDbEnhancedClient&quot;.</p>
  <p>However that does not seem to have some features, for instance, automatic table creation from a class, like <code>generateCreateTableRequest(clazz)</code>. Or am I mistaken?</p>
  <p>Reference: <a href="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/dynamodb/model/CreateTableRequest.Builder.html" rel="nofollow noreferrer">https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/dynamodb/model/CreateTableRequest.Builder.html</a></p>
  <p>Ideally, I would like to feed this &quot;enhanced client&quot; the old class with unchanged annotations and get the same table created as with <code>generateCreateTableRequest()</code> from SDK 1.x.</p>
  <p>Note that I do not mean just the mapping, like this:</p>
  <pre><code>private static final DynamoDbTable&lt;Customer&gt; CUSTOMER_TABLE =
      client.table(&quot;customers_table&quot;, TableSchema.fromBean(Customer.class));
  </code></pre>