public void setTaskDefinition(String taskDefinition) {
        this.taskDefinition = taskDefinition;
    }
<p>
The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or full ARN of the task
definition to run in your service. If a <code>revision</code> is not specified, the latest <code>ACTIVE</code>
revision is used. If you modify the task definition with <code>UpdateService</code>, Amazon ECS spawns a task
with the new version of the task definition and then stops an old task after the new version is running.
</p>

@param taskDefinition
       The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or full ARN of the task
       definition to run in your service. If a <code>revision</code> is not specified, the latest
       <code>ACTIVE</code> revision is used. If you modify the task definition with <code>UpdateService</code>,
       Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the
       new version is running.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/UpdateServiceRequest.java