public PutSubscriptionFilterRequest withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination
stream. You don't need to provide the ARN when you are working with a logical destination for cross-account
delivery.
</p>

@param roleArn
       The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the
       destination stream. You don't need to provide the ARN when you are working with a logical destination for
       cross-account delivery.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutSubscriptionFilterRequest.java