public EndpointState withStatusReason(EndpointStatusReason statusReason) {
        this.statusReason = statusReason.toString();
        return this;
    }
<p>
The reason for the <code>EndpointStatus</code>.
</p>

@param statusReason
       The reason for the <code>EndpointStatus</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see EndpointStatusReason
aws-java-sdk-chimesdkidentity/src/main/java/com/amazonaws/services/chimesdkidentity/model/EndpointState.java