vertx / io.vertx.kotlin.config / configStoreOptionsOf

# configStoreOptionsOf

`fun configStoreOptionsOf(config: JsonObject? = null, format: String? = null, optional: Boolean? = null, type: String? = null): ConfigStoreOptions`

A function providing a DSL for building io.vertx.config.ConfigStoreOptions objects.

Data object representing the configuration of a configuration store. This object describes the configuration of a chunk of configuration that you retrieve. It specifies its type (type of configuration store), the format of the retrieved configuration chunk, and you can also configures the store if it needs configuration to retrieve the configuration chunk.

### Parameters

`config` - Sets the configuration of the store

`format` - Sets the format of the configuration that is retrieved from the store.

`optional` - Sets whether or not the store is optional. When the configuration is retrieve, if an optional store returns a failure, the failure is ignored and an empty json object is used instead (for this store).

`type` - Sets the configuration type