3

In Aws SDK V1 for java when creating DynamoDBMapperConfig you could set

withTableNameResolver(...)

and

withObjectTableNameResolver(...)

to dynamically change table name before save operation occurred even if a bean had @DynamoDBTable annotation.

Is it possible to do something like this with DynamoDbEnhancedClient in Aws Sdk v2 for java?

Ferran Buireu
  • 28,630
  • 6
  • 39
  • 67
Kivan
  • 1,712
  • 1
  • 14
  • 30

1 Answers1

1

If I understood you correctly, it can't be done as of now. You seem to be looking for this feature: https://github.com/aws/aws-sdk-java-v2/issues/2935

Looks like it's in development (or at least accepted as a feature request)