Class NodeWorkerTarget.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<NodeWorkerTarget>
co.yellowdog.platform.model.NodeWorkerTarget.Builder
- Enclosing class:
 NodeWorkerTarget
A builder that can be used to build a new NodeWorkerTarget that is automatically validated on build.
- 
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.customTargetCommand(String customTargetCommand) perCustomCommand(String customTargetCommand) perNode(int targetCount) perVcpu(double targetCount) targetCount(Double targetCount) targetType(NodeWorkerTargetType targetType) toString()Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate 
- 
Method Details
- 
perNode
 - 
perVcpu
 - 
perCustomCommand
 - 
targetCount
- Returns:
 this.
 - 
targetType
- Returns:
 this.
 - 
customTargetCommand
- 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<NodeWorkerTarget>- Returns:
 - the object being built
 
 - 
toString
 
 -