public InstanceRecommendation withCurrentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk) {
        this.currentPerformanceRisk = currentPerformanceRisk.toString();
        return this;
    }
<p>
An object that describes the effective recommendation preferences for the instance.
</p>

@param effectiveRecommendationPreferences
       An object that describes the effective recommendation preferences for the instance.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/InstanceRecommendation.java