public CheckDetail withReason(CheckFailureReason reason) {
        this.reason = reason.toString();
        return this;
    }
<p>
Reason associated to the check.
</p>

@param reason
       Reason associated to the check.
@return Returns a reference to this object so that method calls can be chained together.
@see CheckFailureReason
aws-java-sdk-wellarchitected/src/main/java/com/amazonaws/services/wellarchitected/model/CheckDetail.java