public BatchGetTableOptimizerRequest withEntries(BatchGetTableOptimizerEntry... entries) {
        if (this.entries == null) {
            setEntries(new java.util.ArrayList<BatchGetTableOptimizerEntry>(entries.length));
        }
        for (BatchGetTableOptimizerEntry ele : entries) {
            this.entries.add(ele);
        }
        return this;
    }
<p>
A list of <code>BatchGetTableOptimizerEntry</code> objects specifying the table optimizers to retrieve.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEntries(java.util.Collection)} or {@link #withEntries(java.util.Collection)} if you want to override
the existing values.
</p>

@param entries
       A list of <code>BatchGetTableOptimizerEntry</code> objects specifying the table optimizers to retrieve.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/BatchGetTableOptimizerRequest.java