public NetworkInterface withIps(String... ips) {
        if (this.ips == null) {
            setIps(new java.util.ArrayList<String>(ips.length));
        }
        for (String ele : ips) {
            this.ips.add(ele);
        }
        return this;
    }
<p>
Network interface IPs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIps(java.util.Collection)} or {@link #withIps(java.util.Collection)} if you want to override the
existing values.
</p>

@param ips
       Network interface IPs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mgn/src/main/java/com/amazonaws/services/mgn/model/NetworkInterface.java