Class ComputeSourceTemplate.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<ComputeSourceTemplate>
co.yellowdog.platform.model.ComputeSourceTemplate.Builder
- Enclosing class:
ComputeSourceTemplate
A builder that can be used to build a new ComputeSourceTemplate that is automatically validated on build.
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(List<@NotNull @Valid AttributeValue<?>> attributes) Builds the object without enforcing validation constraints.description
(String description) source
(ComputeSource source) toString()
Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
id
- Returns:
this
.
-
namespace
- Returns:
this
.
-
description
- Returns:
this
.
-
attributes
- Returns:
this
.
-
source
- 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<ComputeSourceTemplate>
- Returns:
- the object being built
-
toString
-