Class Track.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<Track>
co.yellowdog.platform.model.Track.Builder
- Enclosing class:
Track
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and validates the object.createdTime(Instant createdTime) toString()Methods inherited from class ValidatedBuilder
buildUnchecked, validateModifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.validate()Performs validation based on the current builder properties and returns the ConstraintViolations without throwing.
-
Method Details
-
id
- Returns:
this.
-
createdTime
- Returns:
this.
-
tags
- Returns:
this.
-
build
Description copied from class:ValidatedBuilderBuilds and validates the object.- Overrides:
buildin classValidatedBuilder<Track>- Returns:
- the object being built
-
toString
-