code: public DescribeTasksRequest withTasks(String... tasks) {
          if (this.tasks == null) {
              setTasks(new com.amazonaws.internal.SdkInternalList<String>(tasks.length));
          }
          for (String ele : tasks) {
              this.tasks.add(ele);
          }
          return this;
      }
docs: <p>
  A list of up to 100 task IDs or full ARN entries.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTasks(java.util.Collection)} or {@link #withTasks(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param tasks
  A list of up to 100 task IDs or full ARN entries.
  @return Returns a reference to this object so that method calls can be chained together.