public Deployment withTaskDefinition(String taskDefinition) {
        setTaskDefinition(taskDefinition);
        return this;
    }
<p>
The most recent task definition that was specified for the tasks in the service to use.
</p>

@param taskDefinition
       The most recent task definition that was specified for the tasks in the service to use.
@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/Deployment.java