Interface MetadataBuilder.With
- All Known Implementing Classes:
- Metadata
- Enclosing class:
- MetadataBuilder
@Generated("io.soabase.recordbuilder.core.RecordBuilder")
public static interface MetadataBuilder.With
Add withers to 
Metadata- 
Method SummaryModifier and TypeMethodDescriptionReturn the current value for thecreationTimerecord component in the builderReturn the current value for theentityTypeMigrationRunsrecord component in the builderid()Return the current value for theidrecord component in the builderversion()Return the current value for theversionrecord component in the builderdefault MetadataBuilderwith()Return a new record builder using the current valuesdefault Metadatawith(Consumer<MetadataBuilder> consumer) Return a new record built from the builder passed to the given consumerdefault MetadatawithCreationTime(Instant creationTime) Return a new instance ofMetadatawith a new value forcreationTimedefault MetadatawithEntityTypeMigrationRuns(Set<Metadata.MigrationRun> entityTypeMigrationRuns) Return a new instance ofMetadatawith a new value forentityTypeMigrationRunsdefault MetadataReturn a new instance ofMetadatawith a new value foriddefault MetadatawithVersion(Long version) Return a new instance ofMetadatawith a new value forversion
- 
Method Details- 
idReturn the current value for theidrecord component in the builder
- 
versionReturn the current value for theversionrecord component in the builder
- 
creationTimeReturn the current value for thecreationTimerecord component in the builder
- 
entityTypeMigrationRuns@Generated("io.soabase.recordbuilder.core.RecordBuilder") Set<Metadata.MigrationRun> entityTypeMigrationRuns()Return the current value for theentityTypeMigrationRunsrecord component in the builder
- 
withReturn a new record builder using the current values
- 
with@Generated("io.soabase.recordbuilder.core.RecordBuilder") default Metadata with(Consumer<MetadataBuilder> consumer) Return a new record built from the builder passed to the given consumer
- 
withIdReturn a new instance ofMetadatawith a new value forid
- 
withVersion@Generated("io.soabase.recordbuilder.core.RecordBuilder") default Metadata withVersion(Long version) Return a new instance ofMetadatawith a new value forversion
- 
withCreationTime@Generated("io.soabase.recordbuilder.core.RecordBuilder") default Metadata withCreationTime(Instant creationTime) Return a new instance ofMetadatawith a new value forcreationTime
- 
withEntityTypeMigrationRuns@Generated("io.soabase.recordbuilder.core.RecordBuilder") default Metadata withEntityTypeMigrationRuns(Set<Metadata.MigrationRun> entityTypeMigrationRuns) Return a new instance ofMetadatawith a new value forentityTypeMigrationRuns
 
-