public Rule withPredicates(java.util.Collection<Predicate> predicates) {
        setPredicates(predicates);
        return this;
    }
<p>
The <code>Predicates</code> object contains one <code>Predicate</code> element for each <a>ByteMatchSet</a>,
<a>IPSet</a>, or <a>SqlInjectionMatchSet</a> object that you want to include in a <code>Rule</code>.
</p>

@param predicates
       The <code>Predicates</code> object contains one <code>Predicate</code> element for each
       <a>ByteMatchSet</a>, <a>IPSet</a>, or <a>SqlInjectionMatchSet</a> object that you want to include in a
       <code>Rule</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/Rule.java