Skip to content

Commit

Permalink
fix incorrect docs for DocumentTableSchema (#4348)
Browse files Browse the repository at this point in the history
Co-authored-by: Debora N. Ito <476307+debora-ito@users.noreply.github.com>
  • Loading branch information
manishdait and debora-ito authored Oct 11, 2023
1 parent 13985e0 commit 3800d0b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
* <p> DocumentTableSchema specifying primaryKey, sortKey and a customAttributeConverter can be created as below
* {@snippet :
* DocumentTableSchema documentTableSchema = DocumentTableSchema.builder()
* .primaryKey("sampleHashKey", AttributeValueType.S)
* .sortKey("sampleSortKey", AttributeValueType.S)
* .addIndexPartitionKey("sampleIndexName", "sampleHashKey", AttributeValueType.S)
* .addIndexSortKey("sampleIndexName", "sampleSortKey", AttributeValueType.S)
* .attributeConverterProviders(customAttributeConverter, AttributeConverterProvider.defaultProvider())
* .build();
*}
Expand Down

0 comments on commit 3800d0b

Please sign in to comment.