public IpAccessSettings withIpRules(IpRule... ipRules) {
        if (this.ipRules == null) {
            setIpRules(new java.util.ArrayList<IpRule>(ipRules.length));
        }
        for (IpRule ele : ipRules) {
            this.ipRules.add(ele);
        }
        return this;
    }
<p>
The IP rules of the IP access settings.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIpRules(java.util.Collection)} or {@link #withIpRules(java.util.Collection)} if you want to override
the existing values.
</p>

@param ipRules
       The IP rules of the IP access settings.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspacesweb/src/main/java/com/amazonaws/services/workspacesweb/model/IpAccessSettings.java