public String getPublicIp() {
        return this.publicIp;
    }
<p>
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
</p>

@return [Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/NatGatewayAddress.java