public String getRoleArn() {
        return this.roleArn;
    }
<p>
The Amazon Resource Name (ARN) of the role that is used for target invocation.
</p>
<p>
If you're setting an event bus in another account as the target and that account granted permission to your
account through an organization instead of directly by the account ID, you must specify a <code>RoleArn</code>
with proper permissions in the <code>Target</code> structure, instead of here in this parameter.
</p>

@return The Amazon Resource Name (ARN) of the role that is used for target invocation.</p>
        <p>
        If you're setting an event bus in another account as the target and that account granted permission to
        your account through an organization instead of directly by the account ID, you must specify a
        <code>RoleArn</code> with proper permissions in the <code>Target</code> structure, instead of here in
        this parameter.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/Rule.java