public void setPidMode(String pidMode) {
        this.pidMode = pidMode;
    }
<p>
The process namespace to use for the containers in the task. The valid values are <code>host</code> or
<code>task</code>. For example, monitoring sidecars might need <code>pidMode</code> to access information about
other containers running in the same task.
</p>
<p>
If <code>host</code> is specified, all containers within the tasks that specified the <code>host</code> PID mode
on the same container instance share the process namespace with the host Amazon EC2 instance.
</p>
<p>
If <code>task</code> is specified, all containers within the specified task share the same process namespace.
</p>
<p>
If no value is specified, the default is a private namespace for each container. For more information, see <a
href="https://docs.docker.com/engine/reference/run/#pid-settings---pid">PID settings</a> in the Docker run
reference.
</p>

@param pidMode
       The process namespace to use for the containers in the task. The valid values are <code>host</code> or
       <code>task</code>. For example, monitoring sidecars might need <code>pidMode</code> to access information
       about other containers running in the same task.</p>
       <p>
       If <code>host</code> is specified, all containers within the tasks that specified the <code>host</code>
       PID mode on the same container instance share the process namespace with the host Amazon EC2 instance.
       </p>
       <p>
       If <code>task</code> is specified, all containers within the specified task share the same process
       namespace.
       </p>
       <p>
       If no value is specified, the default is a private namespace for each container. For more information, see
       <a href="https://docs.docker.com/engine/reference/run/#pid-settings---pid">PID settings</a> in the Docker
       run reference.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EcsTaskProperties.java