Class InstantRange.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<InstantRange>
co.yellowdog.platform.model.InstantRange.Builder
- Enclosing class:
InstantRange
A builder that can be used to build a new InstantRange that is automatically validated on build.
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.toString()
Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
min
- Returns:
this
.
-
max
- Returns:
this
.
-
buildUnchecked
Description copied from class:ValidatedBuilder
Builds the object without enforcing validation constraints. This should only be used for testing purposes- Overrides:
buildUnchecked
in classValidatedBuilder<InstantRange>
- Returns:
- the object being built
-
toString
-