public void setAmazonForecastRoleArn(String amazonForecastRoleArn) {
        this.amazonForecastRoleArn = amazonForecastRoleArn;
    }
<p>
The IAM role that Canvas passes to Amazon Forecast for time series forecasting. By default, Canvas uses the
execution role specified in the <code>UserProfile</code> that launches the Canvas application. If an execution
role is not specified in the <code>UserProfile</code>, Canvas uses the execution role specified in the Domain
that owns the <code>UserProfile</code>. To allow time series forecasting, this IAM role should have the <a href=
"https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-canvas.html#security-iam-awsmanpol-AmazonSageMakerCanvasForecastAccess"
> AmazonSageMakerCanvasForecastAccess</a> policy attached and <code>forecast.amazonaws.com</code> added in the
trust relationship as a service principal.
</p>

@param amazonForecastRoleArn
       The IAM role that Canvas passes to Amazon Forecast for time series forecasting. By default, Canvas uses
       the execution role specified in the <code>UserProfile</code> that launches the Canvas application. If an
       execution role is not specified in the <code>UserProfile</code>, Canvas uses the execution role specified
       in the Domain that owns the <code>UserProfile</code>. To allow time series forecasting, this IAM role
       should have the <a href=
       "https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-canvas.html#security-iam-awsmanpol-AmazonSageMakerCanvasForecastAccess"
       > AmazonSageMakerCanvasForecastAccess</a> policy attached and <code>forecast.amazonaws.com</code> added in
       the trust relationship as a service principal.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/TimeSeriesForecastingSettings.java