public FailedConfiguration withErrorStatusCode(Integer errorStatusCode) {
        setErrorStatusCode(errorStatusCode);
        return this;
    }
<p>
The integer error code associated with the error message.
</p>

@param errorStatusCode
       The integer error code associated with the error message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/model/FailedConfiguration.java