public GuardrailWordPolicyAssessment withCustomWords(java.util.Collection<GuardrailCustomWord> customWords) {
        setCustomWords(customWords);
        return this;
    }
<p>
Custom words in the assessment.
</p>

@param customWords
       Custom words in the assessment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/GuardrailWordPolicyAssessment.java