public AssociateIpamByoasnRequest withCidr(String cidr) {
        setCidr(cidr);
        return this;
    }
<p>
The BYOIP CIDR you want to associate with an ASN.
</p>

@param cidr
       The BYOIP CIDR you want to associate with an ASN.
@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/AssociateIpamByoasnRequest.java