public void setEssential(Boolean essential) {
        this.essential = essential;
    }
<p>
Indicates whether the container is vital to the container group. If an essential container fails, the entire
container group is restarted.
</p>

@param essential
       Indicates whether the container is vital to the container group. If an essential container fails, the
       entire container group is restarted.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/ContainerDefinition.java