public InternalServerErrorException withErrorCode(String errorCode) {
        setErrorCode(errorCode);
        return this;
    }
<p>
500
</p>

@param errorCode
       500
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-serverlessapplicationrepository/src/main/java/com/amazonaws/services/serverlessapplicationrepository/model/InternalServerErrorException.java