public AttributeSuggestionsGetConfig withSuggestionAttributes(String... suggestionAttributes) {
        if (this.suggestionAttributes == null) {
            setSuggestionAttributes(new java.util.ArrayList<String>(suggestionAttributes.length));
        }
        for (String ele : suggestionAttributes) {
            this.suggestionAttributes.add(ele);
        }
        return this;
    }
<p>
The list of document field/attribute keys or field names to use for query suggestions. If the content within any
of the fields match what your user starts typing as their query, then the field content is returned as a query
suggestion.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSuggestionAttributes(java.util.Collection)} or {@link #withSuggestionAttributes(java.util.Collection)}
if you want to override the existing values.
</p>

@param suggestionAttributes
       The list of document field/attribute keys or field names to use for query suggestions. If the content
       within any of the fields match what your user starts typing as their query, then the field content is
       returned as a query suggestion.
@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/AttributeSuggestionsGetConfig.java