public IpamPool withLocale(String locale) {
        setLocale(locale);
        return this;
    }
<p>
The locale of the IPAM pool.
</p>
<p>
The locale for the pool should be one of the following:
</p>
<ul>
<li>
<p>
An Amazon Web Services Region where you want this IPAM pool to be available for allocations.
</p>
</li>
<li>
<p>
The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for
allocations (<a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">supported Local
Zones</a>). This option is only available for IPAM IPv4 pools in the public scope.
</p>
</li>
</ul>
<p>
If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for
the IPAM, you'll get an error.
</p>

@param locale
       The locale of the IPAM pool.</p>
       <p>
       The locale for the pool should be one of the following:
       </p>
       <ul>
       <li>
       <p>
       An Amazon Web Services Region where you want this IPAM pool to be available for allocations.
       </p>
       </li>
       <li>
       <p>
       The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be
       available for allocations (<a
       href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">supported Local
       Zones</a>). This option is only available for IPAM IPv4 pools in the public scope.
       </p>
       </li>
       </ul>
       <p>
       If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region
       for the IPAM, you'll get an error.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/IpamPool.java