public LambdaFunctionRecommendation withMemorySizeRecommendationOptions(LambdaFunctionMemoryRecommendationOption... memorySizeRecommendationOptions) {
        if (this.memorySizeRecommendationOptions == null) {
            setMemorySizeRecommendationOptions(new java.util.ArrayList<LambdaFunctionMemoryRecommendationOption>(memorySizeRecommendationOptions.length));
        }
        for (LambdaFunctionMemoryRecommendationOption ele : memorySizeRecommendationOptions) {
            this.memorySizeRecommendationOptions.add(ele);
        }
        return this;
    }
<p>
An array of objects that describe the memory configuration recommendation options for the function.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMemorySizeRecommendationOptions(java.util.Collection)} or
{@link #withMemorySizeRecommendationOptions(java.util.Collection)} if you want to override the existing values.
</p>

@param memorySizeRecommendationOptions
       An array of objects that describe the memory configuration recommendation options for the 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