public DescribeInferenceRecommendationsJobResult withEndpointPerformances(EndpointPerformance... endpointPerformances) {
        if (this.endpointPerformances == null) {
            setEndpointPerformances(new java.util.ArrayList<EndpointPerformance>(endpointPerformances.length));
        }
        for (EndpointPerformance ele : endpointPerformances) {
            this.endpointPerformances.add(ele);
        }
        return this;
    }
<p>
The performance results from running an Inference Recommender job on an existing endpoint.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEndpointPerformances(java.util.Collection)} or {@link #withEndpointPerformances(java.util.Collection)}
if you want to override the existing values.
</p>

@param endpointPerformances
       The performance results from running an Inference Recommender job on an existing endpoint.
@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/DescribeInferenceRecommendationsJobResult.java