public LambdaFunctionRecommendation withCurrentMemorySize(Integer currentMemorySize) {
        setCurrentMemorySize(currentMemorySize);
        return this;
    }
<p>
The amount of memory, in MB, that's allocated to the current function.
</p>

@param currentMemorySize
       The amount of memory, in MB, that's allocated to the current function.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/LambdaFunctionRecommendation.java