public ComputeConfiguration withMemorySizeInMB(Integer memorySizeInMB) {
        setMemorySizeInMB(memorySizeInMB);
        return this;
    }
<p>
The memory size of the resource.
</p>

@param memorySizeInMB
       The memory size of the resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/ComputeConfiguration.java