public String getTaskRoleArn() {
        return this.taskRoleArn;
    }
<p>
The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
</p>
<note>
<p>
This is object is comparable to <a
href="https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html"
>ContainerProperties:jobRoleArn</a>.
</p>
</note>

@return The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.</p> <note>
        <p>
        This is object is comparable to <a
        href="https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html"
        >ContainerProperties:jobRoleArn</a>.
        </p>
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EcsTaskProperties.java