public String getTask() {
        return this.task;
    }
<p>
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
</p>

@return The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/SubmitContainerStateChangeRequest.java