public TableKeysAndAttributes addHashOnlyPrimaryKeys ( String hashKeyName , Object ... hashKeyValues ) { for ( Object hashKeyValue : hashKeyValues ) { this . addPrimaryKey ( new PrimaryKey ( hashKeyName , hashKeyValue ) ) ; } return this ; }
Adds multiple hash - only primary keys to be included in the batch get - item operation .