public Step withStatusReason(String statusReason) {
        setStatusReason(statusReason);
        return this;
    }
<p>
The reason for the current step status.
</p>

@param statusReason
       The reason for the current step status.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/Step.java