public void setMemory(String memory) {
        this.memory = memory;
    }
<p>
The memory requirements for every worker instance of the worker type.
</p>

@param memory
       The memory requirements for every worker instance of the worker type.
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/model/WorkerResourceConfig.java