public UserPoolType withAliasAttributes(AliasAttributeType... aliasAttributes) {
        java.util.ArrayList<String> aliasAttributesCopy = new java.util.ArrayList<String>(aliasAttributes.length);
        for (AliasAttributeType value : aliasAttributes) {
            aliasAttributesCopy.add(value.toString());
        }
        if (getAliasAttributes() == null) {
            setAliasAttributes(aliasAttributesCopy);
        } else {
            getAliasAttributes().addAll(aliasAttributesCopy);
        }
        return this;
    }
<p>
The attributes that are aliased in a user pool.
</p>

@param aliasAttributes
       The attributes that are aliased in a user pool.
@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/UserPoolType.java