public Accelerator withIpSets(IpSet... ipSets) {
        if (this.ipSets == null) {
            setIpSets(new java.util.ArrayList<IpSet>(ipSets.length));
        }
        for (IpSet ele : ipSets) {
            this.ipSets.add(ele);
        }
        return this;
    }
<p>
The static IP addresses that Global Accelerator associates with the accelerator.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIpSets(java.util.Collection)} or {@link #withIpSets(java.util.Collection)} if you want to override the
existing values.
</p>

@param ipSets
       The static IP addresses that Global Accelerator associates with the accelerator.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/Accelerator.java