public void setFacetResults(java.util.Collection<FacetResult> facetResults) {
        if (facetResults == null) {
            this.facetResults = null;
            return;
        }

        this.facetResults = new java.util.ArrayList<FacetResult>(facetResults);
    }
<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.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/QueryResult.java