public void setRelevance(Relevance relevance) {
        this.relevance = relevance;
    }
<p>
Provides information for tuning the relevance of a field in a search. When a query includes terms that match the
field, the results are given a boost in the response based on these tuning parameters.
</p>

@param relevance
       Provides information for tuning the relevance of a field in a search. When a query includes terms that
       match the field, the results are given a boost in the response based on these tuning parameters.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/DocumentRelevanceConfiguration.java