Class SchemaInteger.Builder
java.lang.Object
io.helidon.json.schema.SchemaItem.BuilderBase<SchemaInteger.Builder, SchemaInteger>
io.helidon.json.schema.SchemaInteger.BuilderBase<SchemaInteger.Builder, SchemaInteger>
io.helidon.json.schema.SchemaInteger.Builder
- All Implemented Interfaces:
Prototype.Builder<SchemaInteger.Builder, SchemaInteger>, Builder<SchemaInteger.Builder, SchemaInteger>, Supplier<SchemaInteger>
- Enclosing interface:
SchemaInteger
public static class SchemaInteger.Builder
extends SchemaInteger.BuilderBase<SchemaInteger.Builder, SchemaInteger>
implements Builder<SchemaInteger.Builder, SchemaInteger>
Fluent API builder for
SchemaInteger.-
Nested Class Summary
Nested classes/interfaces inherited from class SchemaInteger.BuilderBase
SchemaInteger.BuilderBase.SchemaIntegerImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Nested classes/interfaces inherited from class SchemaItem.BuilderBase
SchemaItem.BuilderBase.SchemaItemImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class SchemaInteger.BuilderBase
clearExclusiveMaximum, clearExclusiveMinimum, clearMaximum, clearMinimum, clearMultipleOf, exclusiveMaximum, exclusiveMaximum, exclusiveMaximum, exclusiveMinimum, exclusiveMinimum, exclusiveMinimum, from, from, maximum, maximum, maximum, minimum, minimum, minimum, multipleOf, multipleOf, multipleOf, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionClear existing value of exclusiveMaximum.Clear existing value of exclusiveMinimum.Clear existing value of maximum.Clear existing value of minimum.Clear existing value of multipleOf.Maximal exclusive value of the integer number.exclusiveMaximum(int value) Maximal exclusive value of the integer number.exclusiveMaximum(long exclusiveMaximum) Maximal exclusive value of the integer number.Minimal exclusive value of the integer number.exclusiveMinimum(int value) Minimal exclusive value of the integer number.exclusiveMinimum(long exclusiveMinimum) Minimal exclusive value of the integer number.from(SchemaInteger prototype) Update this builder from an existing prototype instance.from(SchemaInteger.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.maximum()Maximal value of the integer number.maximum(int value) Maximal value of the integer number.maximum(long maximum) Maximal value of the integer number.minimum()Minimal value of the integer number.minimum(int value) Minimal value of the integer number.minimum(long minimum) Minimal value of the integer number.Value restriction to be a multiple of a given integer number.multipleOf(int value) Value restriction to be a multiple of a given integer number.multipleOf(long multipleOf) Value restriction to be a multiple of a given integer number.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class SchemaItem.BuilderBase
clearDescription, clearTitle, description, description, from, from, required, required, title, titleModifier and TypeMethodDescriptionClear existing value of description.Clear existing value of title.Description of the item.description(String description) Description of the item.from(SchemaItem prototype) Update this builder from an existing prototype instance.from(SchemaItem.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.booleanrequired()Used in the object properties to mark required property.required(boolean required) Used in the object properties to mark required property.title()Title of the item.Title of the item.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault SchemaIntegerget()default SchemaInteger.Builderidentity()Instance of this builder as the correct type.default SchemaInteger.Builderupdate(Consumer<SchemaInteger.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault SchemaInteger.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<SchemaInteger.Builder, SchemaInteger>- 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<SchemaInteger.Builder, SchemaInteger>- Returns:
- instance of the built type
-