public UserGroupPendingChanges withUserIdsToRemove(String... userIdsToRemove) {
        if (this.userIdsToRemove == null) {
            setUserIdsToRemove(new com.amazonaws.internal.SdkInternalList<String>(userIdsToRemove.length));
        }
        for (String ele : userIdsToRemove) {
            this.userIdsToRemove.add(ele);
        }
        return this;
    }
<p>
The list of user IDs to remove.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUserIdsToRemove(java.util.Collection)} or {@link #withUserIdsToRemove(java.util.Collection)} if you
want to override the existing values.
</p>

@param userIdsToRemove
       The list of user IDs to remove.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/UserGroupPendingChanges.java