Package io.micronaut.nats.connect
Class NatsConnectionFactoryConfig.JetStreamConfiguration.KeyValueConfiguration
java.lang.Object
io.micronaut.nats.connect.NatsConnectionFactoryConfig.JetStreamConfiguration.KeyValueConfiguration
- Enclosing class:
- NatsConnectionFactoryConfig.JetStreamConfiguration
@EachProperty("keyvalue")
public static class NatsConnectionFactoryConfig.JetStreamConfiguration.KeyValueConfiguration
extends Object
Manages a single key value configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.nats.client.api.KeyValueConfiguration.Builder
get the key value configuration builder.io.nats.client.api.KeyValueConfiguration
return the configuration asKeyValueConfiguration
.
-
Constructor Details
-
KeyValueConfiguration
-
-
Method Details
-
getBuilder
public io.nats.client.api.KeyValueConfiguration.Builder getBuilder()get the key value configuration builder.- Returns:
- key value configuration builder
-
toKeyValueConfiguration
public io.nats.client.api.KeyValueConfiguration toKeyValueConfiguration()return the configuration asKeyValueConfiguration
.- Returns:
- nats key value configuration
-