public BatchGetRepositoriesError withErrorMessage(String errorMessage) {
        setErrorMessage(errorMessage);
        return this;
    }
<p>
An error message that provides detail about why the repository either was not found or was not in a valid state.
</p>

@param errorMessage
       An error message that provides detail about why the repository either was not found or was not in a valid
       state.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/BatchGetRepositoriesError.java