public UpdateUserRequest withUserAliasesToDelete(UserAlias... userAliasesToDelete) {
        if (this.userAliasesToDelete == null) {
            setUserAliasesToDelete(new java.util.ArrayList<UserAlias>(userAliasesToDelete.length));
        }
        for (UserAlias ele : userAliasesToDelete) {
            this.userAliasesToDelete.add(ele);
        }
        return this;
    }
<p>
The user aliases attached to the user id that are to be deleted.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUserAliasesToDelete(java.util.Collection)} or {@link #withUserAliasesToDelete(java.util.Collection)}
if you want to override the existing values.
</p>

@param userAliasesToDelete
       The user aliases attached to the user id that are to be deleted.
@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/UpdateUserRequest.java