public String getLastStatus() {
        return this.lastStatus;
    }
<p>
The last known status for the task. For more information, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html">Task Lifecycle</a>.
</p>

@return The last known status for the task. For more information, see <a
        href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html">Task
        Lifecycle</a>.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Task.java