public GetExperimentResultsResult withResultsData(ExperimentResultsData... resultsData) {
        if (this.resultsData == null) {
            setResultsData(new java.util.ArrayList<ExperimentResultsData>(resultsData.length));
        }
        for (ExperimentResultsData ele : resultsData) {
            this.resultsData.add(ele);
        }
        return this;
    }
<p>
An array of structures that include experiment results including metric names and values.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResultsData(java.util.Collection)} or {@link #withResultsData(java.util.Collection)} if you want to
override the existing values.
</p>

@param resultsData
       An array of structures that include experiment results including metric names and values.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/GetExperimentResultsResult.java