public ListTasksResult withTaskArns(String... taskArns) {
        if (this.taskArns == null) {
            setTaskArns(new com.amazonaws.internal.SdkInternalList<String>(taskArns.length));
        }
        for (String ele : taskArns) {
            this.taskArns.add(ele);
        }
        return this;
    }
<p>
The list of task ARN entries for the <code>ListTasks</code> request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTaskArns(java.util.Collection)} or {@link #withTaskArns(java.util.Collection)} if you want to override
the existing values.
</p>

@param taskArns
       The list of task ARN entries for the <code>ListTasks</code> request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ListTasksResult.java