public void setRecommendationSources(java.util.Collection<RecommendationSource> recommendationSources) {
        if (recommendationSources == null) {
            this.recommendationSources = null;
            return;
        }

        this.recommendationSources = new java.util.ArrayList<RecommendationSource>(recommendationSources);
    }
<p>
An array of objects that describe the source resource of the recommendation.
</p>

@param recommendationSources
       An array of objects that describe the source resource of the recommendation.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/InstanceRecommendation.java