Class OptionAllowedValue.Builder
java.lang.Object
io.helidon.builder.codegen.OptionAllowedValue.BuilderBase<OptionAllowedValue.Builder, OptionAllowedValue>
io.helidon.builder.codegen.OptionAllowedValue.Builder
- All Implemented Interfaces:
Prototype.Builder<OptionAllowedValue.Builder, OptionAllowedValue>, Builder<OptionAllowedValue.Builder, OptionAllowedValue>, Supplier<OptionAllowedValue>
- Enclosing interface:
OptionAllowedValue
public static class OptionAllowedValue.Builder
extends OptionAllowedValue.BuilderBase<OptionAllowedValue.Builder, OptionAllowedValue>
implements Builder<OptionAllowedValue.Builder, OptionAllowedValue>
Fluent API builder for
OptionAllowedValue.-
Nested Class Summary
Nested classes/interfaces inherited from class OptionAllowedValue.BuilderBase
OptionAllowedValue.BuilderBase.OptionAllowedValueImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Methods inherited from class OptionAllowedValue.BuilderBase
description, description, from, from, preBuildPrototype, toString, validatePrototype, value, valueModifier and TypeMethodDescriptionDescription of this value.description(String description) Description of this value.from(OptionAllowedValue prototype) Update this builder from an existing prototype instance.from(OptionAllowedValue.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.toString()protected voidValidates required properties.value()Value, such as a string constant or enum value.Value, such as a string constant or enum value.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault OptionAllowedValueget()default OptionAllowedValue.Builderidentity()Instance of this builder as the correct type.default OptionAllowedValue.Builderupdate(Consumer<OptionAllowedValue.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault OptionAllowedValue.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Description copied from interface:Prototype.BuilderCreate an instance of thePrototype. This method is available on all generated builders forPrototype.Blueprint.Calling this method may update the builder from providers and decorators, so repeated calls may have side effects such as repeated provider discovery.
- Specified by:
buildPrototypein interfacePrototype.Builder<OptionAllowedValue.Builder, OptionAllowedValue>- Returns:
- an instance of the setup object created from this builder
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<OptionAllowedValue.Builder, OptionAllowedValue>- Returns:
- instance of the built type
-