public void setAddresses(java.util.Collection<Address> addresses) {
        if (addresses == null) {
            this.addresses = null;
            return;
        }

        this.addresses = new java.util.ArrayList<Address>(addresses);
    }
<p>
A list of <code>Address</code> objects containing addresses associated with the user.
</p>

@param addresses
       A list of <code>Address</code> objects containing addresses associated with the user.
aws-java-sdk-identitystore/src/main/java/com/amazonaws/services/identitystore/model/CreateUserRequest.java