public void setHit(java.util.Collection<Hit> hit) {
        if (hit == null) {
            this.hit = null;
            return;
        }

        this.hit = new com.amazonaws.internal.SdkInternalList<Hit>(hit);
    }
<p>
A document that matches the search request.
</p>

@param hit
       A document that matches the search request.
aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchdomain/model/Hits.java