public DescribeImportSnapshotTasksResult withImportSnapshotTasks(ImportSnapshotTask... importSnapshotTasks) {
        if (this.importSnapshotTasks == null) {
            setImportSnapshotTasks(new com.amazonaws.internal.SdkInternalList<ImportSnapshotTask>(importSnapshotTasks.length));
        }
        for (ImportSnapshotTask ele : importSnapshotTasks) {
            this.importSnapshotTasks.add(ele);
        }
        return this;
    }
<p>
A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the
previous 7 days.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setImportSnapshotTasks(java.util.Collection)} or {@link #withImportSnapshotTasks(java.util.Collection)}
if you want to override the existing values.
</p>

@param importSnapshotTasks
       A list of zero or more import snapshot tasks that are currently active or were completed or canceled in
       the previous 7 days.
@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/DescribeImportSnapshotTasksResult.java