public void setContentPolicy(GuardrailContentPolicy contentPolicy) {
        this.contentPolicy = contentPolicy;
    }
<p>
The content policy that was configured for the guardrail.
</p>

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