public void setUserAliasesToUpdate(java.util.Collection<UserAlias> userAliasesToUpdate) {
        if (userAliasesToUpdate == null) {
            this.userAliasesToUpdate = null;
            return;
        }

        this.userAliasesToUpdate = new java.util.ArrayList<UserAlias>(userAliasesToUpdate);
    }
<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.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/UpdateUserRequest.java