Class AddConfiguredWorkerPoolRequest.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<AddConfiguredWorkerPoolRequest>
co.yellowdog.platform.interaction.scheduler.AddConfiguredWorkerPoolRequest.Builder
- Enclosing class:
AddConfiguredWorkerPoolRequest
public static class AddConfiguredWorkerPoolRequest.Builder
extends ValidatedBuilder<AddConfiguredWorkerPoolRequest>
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.The name used to uniquely identify the worker pool.The namespace that this worker pool is constrained to.properties
(ConfiguredWorkerPoolProperties properties) The time-to-live of the worker pool token.toString()
Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
name
The name used to uniquely identify the worker pool.- Returns:
this
.
-
namespace
The namespace that this worker pool is constrained to.- Returns:
this
.
-
tokenTtl
The time-to-live of the worker pool token. Workers have this much time, from the creation of the worker token, to register. If not set, workers have an unlimited length of time to register.- Returns:
this
.
-
properties
- 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<AddConfiguredWorkerPoolRequest>
- Returns:
- the object being built
-
toString
-