public ScraperDescription withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect
metrics on your behalf.
</p>

@param roleArn
       The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and
       collect metrics on your behalf.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-prometheus/src/main/java/com/amazonaws/services/prometheus/model/ScraperDescription.java