Class LongRange.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<LongRange>
co.yellowdog.platform.model.LongRange.Builder
- Enclosing class:
LongRange
A builder that can be used to build a new LongRange that is automatically validated on build.
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.toString()Methods inherited from class ValidatedBuilder
build, validate
-
Method Details
-
min
- Returns:
this.
-
max
- Returns:
this.
-
buildUnchecked
Description copied from class:ValidatedBuilderBuilds the object without enforcing validation constraints. Use this when the object is validated later, for example as part of an enclosing object built withValidatedBuilder.build(), or when it does not need to be valid on its own.- Overrides:
buildUncheckedin classValidatedBuilder<LongRange>- Returns:
- the object being built
-
toString
-