public NatGatewayAddress withAllocationId(String allocationId) {
        setAllocationId(allocationId);
        return this;
    }
<p>
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
</p>

@param allocationId
       [Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT
       gateway.
@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/NatGatewayAddress.java