code: public void setAttributesToGet(java.util.Collection<String> attributesToGet) {
          if (attributesToGet == null) {
              this.attributesToGet = null;
              return;
          }
  
          this.attributesToGet = new java.util.ArrayList<String>(attributesToGet);
      }
docs: <p>
  This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see <a href=
  "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html"
  >AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.
  </p>
  
  @param attributesToGet
  This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see <a
  href=
  "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html"
  >AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.