DocumentTableSchema: Cannot declare primary partition and primary sort key. #4186
Labels
bug
This issue is a bug.
documentation
This is a problem with documentation.
p2
This is a standard priority issue
Describe the bug
class software.amazon.awssdk.enhanced.dynamodb.document.DocumentTableSchema does not have methods "primaryKey", "sortKey" as described in Javadoc in order to define the primary key and the sort key
Expected Behavior
It is expected the Builder to have the methods "primaryKey" and "sortKey" as described in the Javadoc.
Current Behavior
The builder does not have the aforemtioned methods, and therefore we cannot define the class.
Reproduction Steps
The following code from the javadoc does not compile.
Possible Solution
add the methods.
Additional Information/Context
No response
AWS Java SDK version used
2.20.102
JDK version used
11
Operating System and version
Linux
The text was updated successfully, but these errors were encountered: