public String getStopCode() {
        return this.stopCode;
    }
<p>
The stop code indicating why a task was stopped. The <code>stoppedReason</code> might contain additional details.
</p>
<p>
For more information about stop code, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stopped-task-error-codes.html">Stopped tasks
error codes</a> in the <i>Amazon ECS Developer Guide</i>.
</p>

@return The stop code indicating why a task was stopped. The <code>stoppedReason</code> might contain additional
        details. </p>
        <p>
        For more information about stop code, see <a
        href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stopped-task-error-codes.html">Stopped
        tasks error codes</a> in the <i>Amazon ECS Developer Guide</i>.
@see TaskStopCode
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Task.java