public void setCapabilities(KernelCapabilities capabilities) {
        this.capabilities = capabilities;
    }
<p>
The Linux capabilities for the container that are added to or dropped from the default configuration provided by
Docker.
</p>
<note>
<p>
For tasks that use the Fargate launch type, <code>capabilities</code> is supported for all platform versions but
the <code>add</code> parameter is only supported if using platform version 1.4.0 or later.
</p>
</note>

@param capabilities
       The Linux capabilities for the container that are added to or dropped from the default configuration
       provided by Docker.</p> <note>
       <p>
       For tasks that use the Fargate launch type, <code>capabilities</code> is supported for all platform
       versions but the <code>add</code> parameter is only supported if using platform version 1.4.0 or later.
       </p>
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/LinuxParameters.java