public CreateUserRequest withEmails(java.util.Collection<Email> emails) {
        setEmails(emails);
        return this;
    }
<p>
A list of <code>Email</code> objects containing email addresses associated with the user.
</p>

@param emails
       A list of <code>Email</code> objects containing email 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