public void setCustomWords(java.util.Collection<GuardrailCustomWord> customWords) {
        if (customWords == null) {
            this.customWords = null;
            return;
        }

        this.customWords = new java.util.ArrayList<GuardrailCustomWord>(customWords);
    }
<p>
Custom words in the assessment.
</p>

@param customWords
       Custom words in the assessment.
aws-java-sdk-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/GuardrailWordPolicyAssessment.java