public void setIamRole(String iamRole) {
        this.iamRole = iamRole;
    }
<p>
The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift
API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (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 <i>Amazon Redshift Cluster Management Guide</i>.
</p>

@param iamRole
       The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon
       Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler
       (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 <i>Amazon Redshift Cluster Management
       Guide</i>.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/CreateScheduledActionResult.java