Class DeadLetterConfig.Builder
java.lang.Object
io.helidon.messaging.DeadLetterConfig.BuilderBase<DeadLetterConfig.Builder, DeadLetterConfig>
io.helidon.messaging.DeadLetterConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<DeadLetterConfig.Builder, DeadLetterConfig>, Builder<DeadLetterConfig.Builder, DeadLetterConfig>, ConfigBuilderSupport.ConfiguredBuilder<DeadLetterConfig.Builder, DeadLetterConfig>, Supplier<DeadLetterConfig>
- Enclosing interface:
DeadLetterConfig
public static class DeadLetterConfig.Builder
extends DeadLetterConfig.BuilderBase<DeadLetterConfig.Builder, DeadLetterConfig>
implements Builder<DeadLetterConfig.Builder, DeadLetterConfig>
Fluent API builder for
DeadLetterConfig.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class DeadLetterConfig.BuilderBase
buildPrototype, channel, channel, config, config, from, from, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionprotected final DeadLetterConfigbuildPrototype(DeadLetterConfig.BuilderBase<?, ?> builder) Create a new prototype instance from a builder.channel()Logical channel required for dead-letter delivery.Logical channel required for dead-letter delivery.config()Configuration used to configure this instance.Update builder from configuration (node of this type).from(DeadLetterConfig prototype) Update this builder from an existing prototype instance.from(DeadLetterConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault DeadLetterConfigget()default DeadLetterConfig.Builderidentity()Instance of this builder as the correct type.default DeadLetterConfig.Builderupdate(Consumer<DeadLetterConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault DeadLetterConfig.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<DeadLetterConfig.Builder, DeadLetterConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<DeadLetterConfig.Builder, DeadLetterConfig>- Returns:
- instance of the built type
-