public String getRoleArn() {
        return this.roleArn;
    }
<p>
When you send any requests to Amazon Web Services resources from the notebook instance, SageMaker assumes this
role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker can perform
these tasks. The policy must allow the SageMaker service principal (sagemaker.amazonaws.com) permissions to
assume this role. 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>

@return When you send any requests to Amazon Web Services resources from the notebook instance, SageMaker assumes
        this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker
        can perform these tasks. The policy must allow the SageMaker service principal (sagemaker.amazonaws.com)
        permissions to assume this role. 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/CreateNotebookInstanceRequest.java