public UpdateUserRequest withUserAliasesToUpdate(java.util.Collection<UserAlias> userAliasesToUpdate) {
        setUserAliasesToUpdate(userAliasesToUpdate);
        return this;
    }
<p>
The user aliases attached to the user id that are to be updated.
</p>

@param userAliasesToUpdate
       The user aliases attached to the user id that are to be updated.
@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