public void setHighlight(String highlight) {
        this.highlight = highlight;
    }
<p>
Retrieves highlights for matches in the specified <code>text</code> or <code>text-array</code> fields. Each
specified field must be highlight enabled in the domain configuration. The fields and options are specified in
JSON using the form
<code>{"FIELD":{"OPTION":VALUE,"OPTION:"STRING"},"FIELD":{"OPTION":VALUE,"OPTION":"STRING"}}</code>.
</p>
<p>
You can specify the following highlight options:
</p>
<ul>
<li> <code>format</code>: specifies the format of the data in the text field: <code>text</code> or
<code>html</code>. When data is returned as HTML, all non-alphanumeric characters are encoded. The default is
<code>html</code>.</li>
<li> <code>max_phrases</code>: specifies the maximum number of occurrences of the search term(s) you want to
highlight. By default, the first occurrence is highlighted.</li>
<li> <code>pre_tag</code>: specifies the string to prepend to an occurrence of a search term. The default for HTML
highlights is <code>&amp;lt;em&amp;gt;</code>. The default for text highlights is <code>*</code>.</li>
<li> <code>post_tag</code>: specifies the string to append to an occurrence of a search term. The default for HTML
highlights is <code>&amp;lt;/em&amp;gt;</code>. The default for text highlights is <code>*</code>.</li>
</ul>
<p>
If no highlight options are specified for a field, the returned field text is treated as HTML and the first match
is highlighted with emphasis tags: <code>&amp;lt;em&gt;search-term&amp;lt;/em&amp;gt;</code>.
</p>
<p>
For example, the following request retrieves highlights for the <code>actors</code> and <code>title</code>
fields.
</p>
<p>
<code>{ "actors": {}, "title": {"format": "text","max_phrases": 2,"pre_tag": "<b>","post_tag": "</b>"} }</code>
</p>

@param highlight
       Retrieves highlights for matches in the specified <code>text</code> or <code>text-array</code> fields.
       Each specified field must be highlight enabled in the domain configuration. The fields and options are
       specified in JSON using the form
       <code>{"FIELD":{"OPTION":VALUE,"OPTION:"STRING"},"FIELD":{"OPTION":VALUE,"OPTION":"STRING"}}</code>.</p>
       <p>
       You can specify the following highlight options:
       </p>
       <ul>
       <li> <code>format</code>: specifies the format of the data in the text field: <code>text</code> or
       <code>html</code>. When data is returned as HTML, all non-alphanumeric characters are encoded. The default
       is <code>html</code>.</li>
       <li> <code>max_phrases</code>: specifies the maximum number of occurrences of the search term(s) you want
       to highlight. By default, the first occurrence is highlighted.</li>
       <li> <code>pre_tag</code>: specifies the string to prepend to an occurrence of a search term. The default
       for HTML highlights is <code>&amp;lt;em&amp;gt;</code>. The default for text highlights is <code>*</code>.
       </li>
       <li> <code>post_tag</code>: specifies the string to append to an occurrence of a search term. The default
       for HTML highlights is <code>&amp;lt;/em&amp;gt;</code>. The default for text highlights is <code>*</code>
       .</li>
       </ul>
       <p>
       If no highlight options are specified for a field, the returned field text is treated as HTML and the
       first match is highlighted with emphasis tags: <code>&amp;lt;em&gt;search-term&amp;lt;/em&amp;gt;</code>.
       </p>
       <p>
       For example, the following request retrieves highlights for the <code>actors</code> and <code>title</code>
       fields.
       </p>
       <p>
       <code>{ "actors": {}, "title": {"format": "text","max_phrases": 2,"pre_tag": "<b>","post_tag": "</b>"} }</code>
aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchdomain/model/SearchRequest.java