public EcsParameters withEnableExecuteCommand(Boolean enableExecuteCommand) {
        setEnableExecuteCommand(enableExecuteCommand);
        return this;
    }
<p>
Whether or not to enable the execute command functionality for the containers in this task. If true, this enables
execute command functionality on all containers in the task.
</p>

@param enableExecuteCommand
       Whether or not to enable the execute command functionality for the containers in this task. If true, this
       enables execute command functionality on all containers in the task.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/EcsParameters.java