public Integer getSwappiness() {
        return this.swappiness;
    }
<p>
This allows you to tune a container's memory swappiness behavior. A <code>swappiness</code> value of
<code>0</code> will cause swapping to not happen unless absolutely necessary. A <code>swappiness</code> value of
<code>100</code> will cause pages to be swapped very aggressively. Accepted values are whole numbers between
<code>0</code> and <code>100</code>. If the <code>swappiness</code> parameter is not specified, a default value
of <code>60</code> is used. If a value is not specified for <code>maxSwap</code> then this parameter is ignored.
This parameter maps to the <code>--memory-swappiness</code> option to <a
href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>.
</p>
<note>
<p>
If you're using tasks that use the Fargate launch type, the <code>swappiness</code> parameter isn't supported.
</p>
<p>
If you're using tasks on Amazon Linux 2023 the <code>swappiness</code> parameter isn't supported.
</p>
</note>

@return This allows you to tune a container's memory swappiness behavior. A <code>swappiness</code> value of
        <code>0</code> will cause swapping to not happen unless absolutely necessary. A <code>swappiness</code>
        value of <code>100</code> will cause pages to be swapped very aggressively. Accepted values are whole
        numbers between <code>0</code> and <code>100</code>. If the <code>swappiness</code> parameter is not
        specified, a default value of <code>60</code> is used. If a value is not specified for
        <code>maxSwap</code> then this parameter is ignored. This parameter maps to the
        <code>--memory-swappiness</code> option to <a
        href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>.</p> <note>
        <p>
        If you're using tasks that use the Fargate launch type, the <code>swappiness</code> parameter isn't
        supported.
        </p>
        <p>
        If you're using tasks on Amazon Linux 2023 the <code>swappiness</code> parameter isn't supported.
        </p>
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/LinuxParameters.java