public AwsEcsTaskDefinitionContainerDefinitionsDetails withEssential(Boolean essential) {
        setEssential(essential);
        return this;
    }
<p>
Whether the container is essential. All tasks must have at least one essential container.
</p>

@param essential
       Whether the container is essential. All tasks must have at least one essential container.
@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/AwsEcsTaskDefinitionContainerDefinitionsDetails.java