public GetUserResult withUserAliases(UserAlias... userAliases) {
        if (this.userAliases == null) {
            setUserAliases(new java.util.ArrayList<UserAlias>(userAliases.length));
        }
        for (UserAlias ele : userAliases) {
            this.userAliases.add(ele);
        }
        return this;
    }
<p>
A list of user aliases attached to a user.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUserAliases(java.util.Collection)} or {@link #withUserAliases(java.util.Collection)} if you want to
override the existing values.
</p>

@param userAliases
       A list of user aliases attached to a user.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/GetUserResult.java