public void setEssential(Boolean essential) {
        this.essential = essential;
    }
<p>
Specifies whether the container is vital for the container group to function properly. If an essential container
fails, it causes the entire container group to restart. Each container group must have an essential container.
</p>
<p>
<b>Replica container groups</b> - A replica group must have exactly one essential container. Use the following to
configure an essential replica container:
</p>
<ul>
<li>
<p>
Choose a container is running your game server and the Amazon GameLift Agent.
</p>
</li>
<li>
<p>
Include a port configuration. This container runs your game server processes, and each process requires a
container port to allow access to game clients.
</p>
</li>
<li>
<p>
Don't configure a health check. The Agent handles this task for the essential replica container.
</p>
</li>
</ul>
<p>
<b>Daemon container groups</b> - A daemon group must have at least one essential container.
</p>
<p>
</p>

@param essential
       Specifies whether the container is vital for the container group to function properly. If an essential
       container fails, it causes the entire container group to restart. Each container group must have an
       essential container.</p>
       <p>
       <b>Replica container groups</b> - A replica group must have exactly one essential container. Use the
       following to configure an essential replica container:
       </p>
       <ul>
       <li>
       <p>
       Choose a container is running your game server and the Amazon GameLift Agent.
       </p>
       </li>
       <li>
       <p>
       Include a port configuration. This container runs your game server processes, and each process requires a
       container port to allow access to game clients.
       </p>
       </li>
       <li>
       <p>
       Don't configure a health check. The Agent handles this task for the essential replica container.
       </p>
       </li>
       </ul>
       <p>
       <b>Daemon container groups</b> - A daemon group must have at least one essential container.
       </p>
       <p>
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/ContainerDefinitionInput.java