public QueryResult withSpellCorrectedQueries(SpellCorrectedQuery... spellCorrectedQueries) {
        if (this.spellCorrectedQueries == null) {
            setSpellCorrectedQueries(new java.util.ArrayList<SpellCorrectedQuery>(spellCorrectedQueries.length));
        }
        for (SpellCorrectedQuery ele : spellCorrectedQueries) {
            this.spellCorrectedQueries.add(ele);
        }
        return this;
    }
<p>
A list of information related to suggested spell corrections for a query.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSpellCorrectedQueries(java.util.Collection)} or
{@link #withSpellCorrectedQueries(java.util.Collection)} if you want to override the existing values.
</p>

@param spellCorrectedQueries
       A list of information related to suggested spell corrections for a query.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/QueryResult.java