public void setContextualGroundingPolicy(GuardrailContextualGroundingPolicy contextualGroundingPolicy) {
        this.contextualGroundingPolicy = contextualGroundingPolicy;
    }
<p>
The contextual grounding policy used in the guardrail.
</p>

@param contextualGroundingPolicy
       The contextual grounding policy used in the guardrail.
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/GetGuardrailResult.java