public void setMemory(Integer memory) {
        this.memory = memory;
    }
<p>
The amount of memory used by the tasks in the Amazon ECS service.
</p>

@param memory
       The amount of memory used by the tasks in the Amazon ECS service.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/ServiceConfiguration.java