public CreateUserPoolRequest withAliasAttributes(java.util.Collection<String> aliasAttributes) {
        setAliasAttributes(aliasAttributes);
        return this;
    }
<p>
Attributes supported as an alias for this user pool. Possible values: <b>phone_number</b>, <b>email</b>, or
<b>preferred_username</b>.
</p>

@param aliasAttributes
       Attributes supported as an alias for this user pool. Possible values: <b>phone_number</b>, <b>email</b>,
       or <b>preferred_username</b>.
@return Returns a reference to this object so that method calls can be chained together.
@see AliasAttributeType
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/CreateUserPoolRequest.java