public Resource withCidr(String cidr) {
        setCidr(cidr);
        return this;
    }
<p>
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and
advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global
Accelerator
</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 Global Accelerator Developer Guide.
</p>

@param cidr
       An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and
       advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global
       Accelerator</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 Global Accelerator Developer Guide.
@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/Resource.java