public CreateUserRequest withAddresses(java.util.Collection<Address> addresses) {
        setAddresses(addresses);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-identitystore/src/main/java/com/amazonaws/services/identitystore/model/CreateUserRequest.java