public ScraperSummary withStatusReason(String statusReason) {
        setStatusReason(statusReason);
        return this;
    }
<p>
If there is a failure, the reason for the failure.
</p>

@param statusReason
       If there is a failure, the reason for the failure.
@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/ScraperSummary.java