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

@param addEntries
       One or more entries to add to 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