public void setPrivateIpAddresses(java.util.Collection<String> privateIpAddresses) {
        if (privateIpAddresses == null) {
            this.privateIpAddresses = null;
            return;
        }

        this.privateIpAddresses = new com.amazonaws.internal.SdkInternalList<String>(privateIpAddresses);
    }
<p>
The private IPv4 addresses you want to assign to the private NAT gateway.
</p>

@param privateIpAddresses
       The private IPv4 addresses you want to assign to the private NAT gateway.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/AssignPrivateNatGatewayAddressRequest.java