public String getRoleArn() {
        return this.roleArn;
    }
<p>
The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the
<code>dataSource</code> field of each dataset.
</p>
<p>
Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an
<code>AccessDeniedException</code> error.
</p>

@return The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the
        <code>dataSource</code> field of each dataset.</p>
        <p>
        Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get
        an <code>AccessDeniedException</code> error.
aws-java-sdk-cleanroomsml/src/main/java/com/amazonaws/services/cleanroomsml/model/CreateTrainingDatasetRequest.java