public void setRoleArn(String roleArn) {
        this.roleArn = roleArn;
    }
<p>
The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the
Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift
scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on
your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see <a
href="https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html">Using
Identity-Based Policies for Amazon Redshift</a> in the Amazon Redshift Management Guide
</p>

@param roleArn
       The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run
       the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon
       Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume
       permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift
       scheduler, see <a
       href="https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html"
       >Using Identity-Based Policies for Amazon Redshift</a> in the Amazon Redshift Management Guide
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/CreateScheduledActionRequest.java