Interface SchemaBuilder.With
- All Known Implementing Classes:
Schema
- Enclosing class:
SchemaBuilder
@Generated("io.soabase.recordbuilder.core.RecordBuilder")
public static interface SchemaBuilder.With
Add withers to
Schema-
Method Summary
Modifier and TypeMethodDescriptionReturn the current value for theentityTypesrecord component in the builderid()Return the current value for theidrecord component in the builderversion()Return the current value for theversionrecord component in the builderdefault SchemaBuilderwith()Return a new record builder using the current valuesdefault Schemawith(Consumer<SchemaBuilder> consumer) Return a new record built from the builder passed to the given consumerdefault SchemawithEntityTypes(Map<String, EntityType> entityTypes) Return a new instance ofSchemawith a new value forentityTypesdefault SchemaReturn a new instance ofSchemawith a new value foriddefault SchemawithVersion(Long version) Return a new instance ofSchemawith a new value forversion
-
Method Details
-
id
Return the current value for theidrecord component in the builder -
entityTypes
Return the current value for theentityTypesrecord component in the builder -
version
Return the current value for theversionrecord component in the builder -
with
Return a new record builder using the current values -
with
@Generated("io.soabase.recordbuilder.core.RecordBuilder") default Schema with(Consumer<SchemaBuilder> consumer) Return a new record built from the builder passed to the given consumer -
withId
Return a new instance ofSchemawith a new value forid -
withEntityTypes
@Generated("io.soabase.recordbuilder.core.RecordBuilder") default Schema withEntityTypes(Map<String, EntityType> entityTypes) Return a new instance ofSchemawith a new value forentityTypes -
withVersion
Return a new instance ofSchemawith a new value forversion
-