public ListTrialComponentsResult withTrialComponentSummaries(TrialComponentSummary... trialComponentSummaries) {
        if (this.trialComponentSummaries == null) {
            setTrialComponentSummaries(new java.util.ArrayList<TrialComponentSummary>(trialComponentSummaries.length));
        }
        for (TrialComponentSummary ele : trialComponentSummaries) {
            this.trialComponentSummaries.add(ele);
        }
        return this;
    }
<p>
A list of the summaries of your trial components.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTrialComponentSummaries(java.util.Collection)} or
{@link #withTrialComponentSummaries(java.util.Collection)} if you want to override the existing values.
</p>

@param trialComponentSummaries
       A list of the summaries of your trial components.
@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/ListTrialComponentsResult.java