public Boolean getPrivileged() {
        return this.privileged;
    }
<p>
When this parameter is true, the container is given elevated privileges on the host container instance (similar
to the <code>root</code> user). This parameter maps to <code>Privileged</code> in the <a
href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
<a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--privileged</code>
option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>.
</p>
<note>
<p>
This parameter is not supported for Windows containers or tasks run on Fargate.
</p>
</note>

@return When this parameter is true, the container is given elevated privileges on the host container instance
        (similar to the <code>root</code> user). This parameter maps to <code>Privileged</code> in the <a
        href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section
        of the <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the
        <code>--privileged</code> option to <a
        href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>.</p> <note>
        <p>
        This parameter is not supported for Windows containers or tasks run on Fargate.
        </p>
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ContainerDefinition.java