public QueryResult withFeaturedResultsItems(FeaturedResultsItem... featuredResultsItems) {
        if (this.featuredResultsItems == null) {
            setFeaturedResultsItems(new java.util.ArrayList<FeaturedResultsItem>(featuredResultsItems.length));
        }
        for (FeaturedResultsItem ele : featuredResultsItems) {
            this.featuredResultsItems.add(ele);
        }
        return this;
    }
<p>
The list of featured result items. Featured results are displayed at the top of the search results page, placed
above all other results for certain queries. If there's an exact match of a query, then certain documents are
featured in the search results.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFeaturedResultsItems(java.util.Collection)} or {@link #withFeaturedResultsItems(java.util.Collection)}
if you want to override the existing values.
</p>

@param featuredResultsItems
       The list of featured result items. Featured results are displayed at the top of the search results page,
       placed above all other results for certain queries. If there's an exact match of a query, then certain
       documents are featured in the search results.
@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