private SimpleConfigurationMetadataRepository add(final InputStream in, final Charset charset) {
        try {
            val metadata = this.reader.read(in, charset);
            return create(metadata);
        } catch (final Exception ex) {
            throw new IllegalStateException("Failed to read configuration metadata", ex);
        }
    }
Build a {@link ConfigurationMetadataRepository} with the current state of this
builder.

@return this builder
support/cas-server-support-configuration-metadata-repository/src/main/java/org/springframework/boot/configurationmetadata/CasConfigurationMetadataRepositoryJsonBuilder.java