public QueryResult withFacetResults(java.util.Collection<FacetResult> facetResults) {
        setFacetResults(facetResults);
        return this;
    }
<p>
Contains the facet results. A <code>FacetResult</code> contains the counts for each field/attribute key that was
specified in the <code>Facets</code> input parameter.
</p>

@param facetResults
       Contains the facet results. A <code>FacetResult</code> contains the counts for each field/attribute key
       that was specified in the <code>Facets</code> input parameter.
@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