public GuardrailContextualGroundingPolicyConfig withFiltersConfig(GuardrailContextualGroundingFilterConfig... filtersConfig) {
        if (this.filtersConfig == null) {
            setFiltersConfig(new java.util.ArrayList<GuardrailContextualGroundingFilterConfig>(filtersConfig.length));
        }
        for (GuardrailContextualGroundingFilterConfig ele : filtersConfig) {
            this.filtersConfig.add(ele);
        }
        return this;
    }
<p>
The filter configuration details for the guardrails contextual grounding policy.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFiltersConfig(java.util.Collection)} or {@link #withFiltersConfig(java.util.Collection)} if you want
to override the existing values.
</p>

@param filtersConfig
       The filter configuration details for the guardrails contextual grounding policy.
@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/GuardrailContextualGroundingPolicyConfig.java