public AbortConfig withCriteriaList(AbortCriteria... criteriaList) {
        if (this.criteriaList == null) {
            setCriteriaList(new java.util.ArrayList<AbortCriteria>(criteriaList.length));
        }
        for (AbortCriteria ele : criteriaList) {
            this.criteriaList.add(ele);
        }
        return this;
    }
<p>
The list of criteria that determine when and how to abort the job.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCriteriaList(java.util.Collection)} or {@link #withCriteriaList(java.util.Collection)} if you want to
override the existing values.
</p>

@param criteriaList
       The list of criteria that determine when and how to abort the job.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/AbortConfig.java