public void setRoleArn(String roleArn) {
        this.roleArn = roleArn;
    }
<p>
The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3
bucket and add metrics to Amazon CloudWatch. For more information, see <a
href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring impact of
recommendations</a>.
</p>

@param roleArn
       The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output
       Amazon S3 bucket and add metrics to Amazon CloudWatch. For more information, see <a
       href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring
       impact of recommendations</a>.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/MetricAttributionOutput.java