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

@param contentPolicy
       The content policy that was configured for the guardrail.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/GetGuardrailResult.java