public GetMaintenanceWindowExecutionResult withTaskIds(String... taskIds) {
        if (this.taskIds == null) {
            setTaskIds(new com.amazonaws.internal.SdkInternalList<String>(taskIds.length));
        }
        for (String ele : taskIds) {
            this.taskIds.add(ele);
        }
        return this;
    }
<p>
The ID of the task executions from the maintenance window execution.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTaskIds(java.util.Collection)} or {@link #withTaskIds(java.util.Collection)} if you want to override
the existing values.
</p>

@param taskIds
       The ID of the task executions from the maintenance window execution.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/GetMaintenanceWindowExecutionResult.java