public void setRoleArn(String roleArn) {
        this.roleArn = roleArn;
    }
<p>
The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If one rule
triggers multiple targets, you can use a different IAM role for each target.
</p>

@param roleArn
       The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If
       one rule triggers multiple targets, you can use a different IAM role for each target.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Target.java