public ResourceScanSummary withStatusReason(String statusReason) {
        setStatusReason(statusReason);
        return this;
    }
<p>
The reason for the resource scan status, providing more information if a failure happened.
</p>

@param statusReason
       The reason for the resource scan status, providing more information if a failure happened.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ResourceScanSummary.java