public AutoMLJobSummary withPartialFailureReasons(AutoMLPartialFailureReason... partialFailureReasons) {
        if (this.partialFailureReasons == null) {
            setPartialFailureReasons(new java.util.ArrayList<AutoMLPartialFailureReason>(partialFailureReasons.length));
        }
        for (AutoMLPartialFailureReason ele : partialFailureReasons) {
            this.partialFailureReasons.add(ele);
        }
        return this;
    }
<p>
The list of reasons for partial failures within an AutoML job.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPartialFailureReasons(java.util.Collection)} or
{@link #withPartialFailureReasons(java.util.Collection)} if you want to override the existing values.
</p>

@param partialFailureReasons
       The list of reasons for partial failures within an AutoML job.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/AutoMLJobSummary.java