public ChangeSummary withErrorDetailList(ErrorDetail... errorDetailList) {
        if (this.errorDetailList == null) {
            setErrorDetailList(new java.util.ArrayList<ErrorDetail>(errorDetailList.length));
        }
        for (ErrorDetail ele : errorDetailList) {
            this.errorDetailList.add(ele);
        }
        return this;
    }
<p>
An array of <code>ErrorDetail</code> objects associated with the change.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setErrorDetailList(java.util.Collection)} or {@link #withErrorDetailList(java.util.Collection)} if you
want to override the existing values.
</p>

@param errorDetailList
       An array of <code>ErrorDetail</code> objects associated with the change.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-marketplacecatalog/src/main/java/com/amazonaws/services/marketplacecatalog/model/ChangeSummary.java