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 Details

    • id

      @Generated("io.soabase.recordbuilder.core.RecordBuilder") String id()
      Return the current value for the id record component in the builder
    • version

      @Generated("io.soabase.recordbuilder.core.RecordBuilder") Long version()
      Return the current value for the version record component in the builder
    • creationTime

      @Generated("io.soabase.recordbuilder.core.RecordBuilder") Instant creationTime()
      Return the current value for the creationTime record component in the builder
    • entityTypeMigrationRuns

      @Generated("io.soabase.recordbuilder.core.RecordBuilder") Set<Metadata.MigrationRun> entityTypeMigrationRuns()
      Return the current value for the entityTypeMigrationRuns record component in the builder
    • with

      @Generated("io.soabase.recordbuilder.core.RecordBuilder") default MetadataBuilder with()
      Return 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
    • withId

      @Generated("io.soabase.recordbuilder.core.RecordBuilder") default Metadata withId(String id)
      Return a new instance of Metadata with a new value for id
    • withVersion

      @Generated("io.soabase.recordbuilder.core.RecordBuilder") default Metadata withVersion(Long version)
      Return a new instance of Metadata with a new value for version
    • withCreationTime

      @Generated("io.soabase.recordbuilder.core.RecordBuilder") default Metadata withCreationTime(Instant creationTime)
      Return a new instance of Metadata with a new value for creationTime
    • withEntityTypeMigrationRuns

      @Generated("io.soabase.recordbuilder.core.RecordBuilder") default Metadata withEntityTypeMigrationRuns(Set<Metadata.MigrationRun> entityTypeMigrationRuns)
      Return a new instance of Metadata with a new value for entityTypeMigrationRuns