public LinuxParameters withSharedMemorySize(Integer sharedMemorySize) {
        setSharedMemorySize(sharedMemorySize);
        return this;
    }
<p>
The value for the size (in MiB) of the <code>/dev/shm</code> volume. This parameter maps to the
<code>--shm-size</code> option to <a
href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>.
</p>
<note>
<p>
If you are using tasks that use the Fargate launch type, the <code>sharedMemorySize</code> parameter is not
supported.
</p>
</note>

@param sharedMemorySize
       The value for the size (in MiB) of the <code>/dev/shm</code> volume. This parameter maps to the
       <code>--shm-size</code> option to <a
       href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>.</p> <note>
       <p>
       If you are using tasks that use the Fargate launch type, the <code>sharedMemorySize</code> parameter is
       not supported.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/LinuxParameters.java