public ModifyManagedPrefixListRequest withRemoveEntries(RemovePrefixListEntry... removeEntries) {
        if (this.removeEntries == null) {
            setRemoveEntries(new com.amazonaws.internal.SdkInternalList<RemovePrefixListEntry>(removeEntries.length));
        }
        for (RemovePrefixListEntry ele : removeEntries) {
            this.removeEntries.add(ele);
        }
        return this;
    }
<p>
One or more entries to remove from the prefix list.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRemoveEntries(java.util.Collection)} or {@link #withRemoveEntries(java.util.Collection)} if you want
to override the existing values.
</p>

@param removeEntries
       One or more entries to remove from the prefix list.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyManagedPrefixListRequest.java