public AccountEnrollmentStatus withStatusReason(String statusReason) {
        setStatusReason(statusReason);
        return this;
    }
<p>
The reason for the account enrollment status.
</p>
<p>
For example, an account might show a status of <code>Pending</code> because member accounts of an organization
require more time to be enrolled in the service.
</p>

@param statusReason
       The reason for the account enrollment status.</p>
       <p>
       For example, an account might show a status of <code>Pending</code> because member accounts of an
       organization require more time to be enrolled in the service.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/AccountEnrollmentStatus.java