public void setRoleArn(String roleArn) {
        this.roleArn = roleArn;
    }
<p>
The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access the notebook instance. For
more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker
Roles</a>.
</p>
<note>
<p>
To be able to pass this role to SageMaker, the caller of this API must have the <code>iam:PassRole</code>
permission.
</p>
</note>

@param roleArn
       The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access the notebook instance.
       For more information, see <a
       href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker Roles</a>. </p>
       <note>
       <p>
       To be able to pass this role to SageMaker, the caller of this API must have the <code>iam:PassRole</code>
       permission.
       </p>
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/UpdateNotebookInstanceRequest.java