public Statement withIPSetReferenceStatement(IPSetReferenceStatement iPSetReferenceStatement) {
        setIPSetReferenceStatement(iPSetReferenceStatement);
        return this;
    }
<p>
A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this,
create an <a>IPSet</a> that specifies the addresses you want to detect, then use the ARN of that set in this
statement. To create an IP set, see <a>CreateIPSet</a>.
</p>
<p>
Each IP set rule statement references an IP set. You create and maintain the set independent of your rules. This
allows you to use the single set in multiple rules. When you update the referenced set, WAF automatically updates
all rules that reference it.
</p>

@param iPSetReferenceStatement
       A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use
       this, create an <a>IPSet</a> that specifies the addresses you want to detect, then use the ARN of that set
       in this statement. To create an IP set, see <a>CreateIPSet</a>.</p>
       <p>
       Each IP set rule statement references an IP set. You create and maintain the set independent of your
       rules. This allows you to use the single set in multiple rules. When you update the referenced set, WAF
       automatically updates all rules that reference it.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/Statement.java