public SpellCorrectedQuery withCorrections(java.util.Collection<Correction> corrections) {
        setCorrections(corrections);
        return this;
    }
<p>
The corrected misspelled word or words in a query.
</p>

@param corrections
       The corrected misspelled word or words in 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/SpellCorrectedQuery.java