public QueryInfo withSelectFields(FieldInfo... selectFields) {
        if (this.selectFields == null) {
            setSelectFields(new com.amazonaws.internal.SdkInternalList<FieldInfo>(selectFields.length));
        }
        for (FieldInfo ele : selectFields) {
            this.selectFields.add(ele);
        }
        return this;
    }
public QueryInfo withSelectFields ( FieldInfo ... selectFields ) { if ( this . selectFields == null ) { setSelectFields ( new com . amazonaws . internal . SdkInternalList < FieldInfo > ( selectFields . length ) ) ; } for ( FieldInfo ele : selectFields ) { this . selectFields . add ( ele ) ; } return this ; }
<p>
Returns a <code>FieldInfo</code> object.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSelectFields(java.util.Collection)} or {@link #withSelectFields(java.util.Collection)} if you want to
override the existing values.
</p>

@param selectFields
Returns a <code>FieldInfo</code> object.
@return Returns a reference to this object so that method calls can be chained together.