public UpdateServiceRequest withEnableECSManagedTags(Boolean enableECSManagedTags) {
        setEnableECSManagedTags(enableECSManagedTags);
        return this;
    }
<p>
Determines whether to turn on Amazon ECS managed tags for the tasks in the service. For more information, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
</p>
<p>
Only tasks launched after the update will reflect the update. To update the tags on all tasks, set
<code>forceNewDeployment</code> to <code>true</code>, so that Amazon ECS starts new tasks with the updated tags.
</p>

@param enableECSManagedTags
       Determines whether to turn on Amazon ECS managed tags for the tasks in the service. For more information,
       see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your
       Amazon ECS Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
       <p>
       Only tasks launched after the update will reflect the update. To update the tags on all tasks, set
       <code>forceNewDeployment</code> to <code>true</code>, so that Amazon ECS starts new tasks with the updated
       tags.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/UpdateServiceRequest.java