public TableKeysAndAttributes withAttributeNames ( String ... attributeNames ) { if ( attributeNames == null ) this . attributeNames = null ; else this . attributeNames = Collections . unmodifiableSet ( new LinkedHashSet < String > ( Arrays . asList ( attributeNames ) ) ) ; return this ; }
Used to specify the attributes to be retrieved in each item returned from the batch get - item operation .