public String getAllocationId() {
        return this.allocationId;
    }
<p>
[Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You
cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with
another resource, you must first disassociate it.
</p>

@return [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway.
        You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is
        associated with another resource, you must first disassociate it.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateNatGatewayRequest.java