public AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails withLogDriver(String logDriver) {
        setLogDriver(logDriver);
        return this;
    }
<p>
The log driver to use for the container.
</p>
<p>
Valid values on Fargate are as follows:
</p>
<ul>
<li>
<p>
<code>awsfirelens</code>
</p>
</li>
<li>
<p>
<code>awslogs</code>
</p>
</li>
<li>
<p>
<code>splunk</code>
</p>
</li>
</ul>
<p>
Valid values on Amazon EC2 are as follows:
</p>
<ul>
<li>
<p>
<code>awsfirelens</code>
</p>
</li>
<li>
<p>
<code>awslogs</code>
</p>
</li>
<li>
<p>
<code>fluentd</code>
</p>
</li>
<li>
<p>
<code>gelf</code>
</p>
</li>
<li>
<p>
<code>journald</code>
</p>
</li>
<li>
<p>
<code>json-file</code>
</p>
</li>
<li>
<p>
<code>logentries</code>
</p>
</li>
<li>
<p>
<code>splunk</code>
</p>
</li>
<li>
<p>
<code>syslog</code>
</p>
</li>
</ul>

@param logDriver
       The log driver to use for the container.</p>
       <p>
       Valid values on Fargate are as follows:
       </p>
       <ul>
       <li>
       <p>
       <code>awsfirelens</code>
       </p>
       </li>
       <li>
       <p>
       <code>awslogs</code>
       </p>
       </li>
       <li>
       <p>
       <code>splunk</code>
       </p>
       </li>
       </ul>
       <p>
       Valid values on Amazon EC2 are as follows:
       </p>
       <ul>
       <li>
       <p>
       <code>awsfirelens</code>
       </p>
       </li>
       <li>
       <p>
       <code>awslogs</code>
       </p>
       </li>
       <li>
       <p>
       <code>fluentd</code>
       </p>
       </li>
       <li>
       <p>
       <code>gelf</code>
       </p>
       </li>
       <li>
       <p>
       <code>journald</code>
       </p>
       </li>
       <li>
       <p>
       <code>json-file</code>
       </p>
       </li>
       <li>
       <p>
       <code>logentries</code>
       </p>
       </li>
       <li>
       <p>
       <code>splunk</code>
       </p>
       </li>
       <li>
       <p>
       <code>syslog</code>
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.java