public AnomalySourceDetails withPerformanceInsightsMetrics(java.util.Collection<PerformanceInsightsMetricsDetail> performanceInsightsMetrics) {
        setPerformanceInsightsMetrics(performanceInsightsMetrics);
        return this;
    }
<p>
An array of <code>PerformanceInsightsMetricsDetail</code> objects that contain information about analyzed
Performance Insights metrics that show anomalous behavior.
</p>

@param performanceInsightsMetrics
       An array of <code>PerformanceInsightsMetricsDetail</code> objects that contain information about analyzed
       Performance Insights metrics that show anomalous behavior.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/AnomalySourceDetails.java