public Target withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Target.java