Uses of Class
cloud.quinimbus.persistence.api.schema.MetadataBuilder
-
Uses of MetadataBuilder in cloud.quinimbus.persistence.api.schema
Modifier and TypeMethodDescriptionMetadataBuilder.addEntityTypeMigrationRuns
(Metadata.MigrationRun i) Add to the internally allocatedHashSet
forentityTypeMigrationRuns
MetadataBuilder.addEntityTypeMigrationRuns
(Iterable<? extends Metadata.MigrationRun> i) Add to the internally allocatedHashSet
forentityTypeMigrationRuns
MetadataBuilder.addEntityTypeMigrationRuns
(Stream<? extends Metadata.MigrationRun> i) Add to the internally allocatedHashSet
forentityTypeMigrationRuns
static MetadataBuilder
MetadataBuilder.builder()
Return a new builder with all fields set to default Java valuesstatic MetadataBuilder
Return a new builder with all fields set to the values taken from the given record instanceMetadataBuilder.creationTime
(Instant creationTime) Set a new value for thecreationTime
record component in the builderMetadataBuilder.entityTypeMigrationRuns
(Collection<? extends Metadata.MigrationRun> entityTypeMigrationRuns) Re-create the internally allocatedSet<Metadata.MigrationRun>
forentityTypeMigrationRuns
by copying the argumentSet a new value for theid
record component in the builderSet a new value for theversion
record component in the builderdefault MetadataBuilder
MetadataBuilder.With.with()
Return a new record builder using the current valuesModifier and TypeMethodDescriptiondefault Metadata
MetadataBuilder.With.with
(Consumer<MetadataBuilder> consumer) Return a new record built from the builder passed to the given consumer