public AwsEcsTaskDefinitionDetails withTaskRoleArn(String taskRoleArn) {
        setTaskRoleArn(taskRoleArn);
        return this;
    }
<p>
The short name or ARN of the IAM role that grants containers in the task permission to call Amazon Web Services
API operations on your behalf.
</p>

@param taskRoleArn
       The short name or ARN of the IAM role that grants containers in the task permission to call Amazon Web
       Services API operations on your behalf.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionDetails.java