public CreateNatGatewayRequest withPrivateIpAddress(String privateIpAddress) {
        setPrivateIpAddress(privateIpAddress);
        return this;
    }
<p>
The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address
will be automatically assigned.
</p>

@param privateIpAddress
       The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4
       address will be automatically assigned.
@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/CreateNatGatewayRequest.java