public LambdaFunctionRecommendation withCurrentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk) {
        this.currentPerformanceRisk = currentPerformanceRisk.toString();
        return this;
    }
<p>
The risk of the current Lambda function not meeting the performance needs of its workloads. The higher the risk,
the more likely the current Lambda function requires more memory.
</p>

@param currentPerformanceRisk
       The risk of the current Lambda function not meeting the performance needs of its workloads. The higher the
       risk, the more likely the current Lambda function requires more memory.
@return Returns a reference to this object so that method calls can be chained together.
@see CurrentPerformanceRisk
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/LambdaFunctionRecommendation.java