public ToxicityDetectionSettings withToxicityCategories(java.util.Collection<String> toxicityCategories) {
        setToxicityCategories(toxicityCategories);
        return this;
    }
<p>
If you include <code>ToxicityDetection</code> in your transcription request, you must also include
<code>ToxicityCategories</code>. The only accepted value for this parameter is <code>ALL</code>.
</p>

@param toxicityCategories
       If you include <code>ToxicityDetection</code> in your transcription request, you must also include
       <code>ToxicityCategories</code>. The only accepted value for this parameter is <code>ALL</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ToxicityCategory
aws-java-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ToxicityDetectionSettings.java