Class Account.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<Account>
co.yellowdog.platform.model.Account.Builder
- Enclosing class:
Account
A builder that can be used to build a new Account 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
-
id
- Returns:
this.
-
name
- Returns:
this.
-
features
- Returns:
this.
-
buildUnchecked
Description copied from class:ValidatedBuilderBuilds the object without enforcing validation constraints. This should only be used for testing purposes- Overrides:
buildUncheckedin classValidatedBuilder<Account>- Returns:
- the object being built
-
toString
-