public DestinationPortMapping withAcceleratorSocketAddresses(SocketAddress... acceleratorSocketAddresses) {
        if (this.acceleratorSocketAddresses == null) {
            setAcceleratorSocketAddresses(new java.util.ArrayList<SocketAddress>(acceleratorSocketAddresses.length));
        }
        for (SocketAddress ele : acceleratorSocketAddresses) {
            this.acceleratorSocketAddresses.add(ele);
        }
        return this;
    }
<p>
The IP address/port combinations (sockets) that map to a given destination socket address.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAcceleratorSocketAddresses(java.util.Collection)} or
{@link #withAcceleratorSocketAddresses(java.util.Collection)} if you want to override the existing values.
</p>

@param acceleratorSocketAddresses
       The IP address/port combinations (sockets) that map to a given destination socket address.
@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/DestinationPortMapping.java