public TranslateDocumentRequest withSettings(TranslationSettings settings) {
        setSettings(settings);
        return this;
    }
<p>
Settings to configure your translation output. You can configure the following options:
</p>
<ul>
<li>
<p>
Brevity: not supported.
</p>
</li>
<li>
<p>
Formality: sets the formality level of the output text.
</p>
</li>
<li>
<p>
Profanity: masks profane words and phrases in your translation output.
</p>
</li>
</ul>

@param settings
       Settings to configure your translation output. You can configure the following options:</p>
       <ul>
       <li>
       <p>
       Brevity: not supported.
       </p>
       </li>
       <li>
       <p>
       Formality: sets the formality level of the output text.
       </p>
       </li>
       <li>
       <p>
       Profanity: masks profane words and phrases in your translation output.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-translate/src/main/java/com/amazonaws/services/translate/model/TranslateDocumentRequest.java