public void setWordPolicy(GuardrailWordPolicy wordPolicy) {
        this.wordPolicy = wordPolicy;
    }
<p>
The word policy that was configured for the guardrail.
</p>

@param wordPolicy
       The word policy that was configured for the guardrail.
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/GetGuardrailResult.java