public CreateCustomerGatewayRequest withPublicIp(String publicIp) {
        setPublicIp(publicIp);
        return this;
    }
<p>
<i>This member has been deprecated.</i> The Internet-routable IP address for the customer gateway's outside
interface. The address must be static.
</p>

@param publicIp
       <i>This member has been deprecated.</i> The Internet-routable IP address for the customer gateway's
       outside interface. The address must be static.
@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/CreateCustomerGatewayRequest.java