public CreateAcceleratorRequest withIpAddresses(java.util.Collection<String> ipAddresses) {
        setIpAddresses(ipAddresses);
        return this;
    }
<p>
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4
address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
</p>
<p>
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you
create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a
second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web
Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global
Accelerator assigns each address range to a different network zone, for high availability.
</p>
<p>
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
</p>
<p>
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new
accelerator with the new addresses.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring your own IP addresses
(BYOIP)</a> in the <i>Global Accelerator Developer Guide</i>.
</p>

@param ipAddresses
       Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4
       address from your own pool to use for the accelerator's static IPv4 address when you create an
       accelerator. </p>
       <p>
       After you bring an address range to Amazon Web Services, it appears in your account as an address pool.
       When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator
       assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address
       ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This
       restriction is because Global Accelerator assigns each address range to a different network zone, for high
       availability.
       </p>
       <p>
       You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
       </p>
       <p>
       Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new
       accelerator with the new addresses.
       </p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring your own IP
       addresses (BYOIP)</a> in the <i>Global Accelerator Developer Guide</i>.
@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/CreateAcceleratorRequest.java