Class Worker.Builder
java.lang.Object
co.yellowdog.platform.model.Worker.Builder
- Enclosing class:
Worker
-
Method Summary
Modifier and TypeMethodDescriptionbuild()registeredTime(Instant registeredTime) The time at which the worker was registered.status(WorkerStatus status) The status of the worker.taskGroupId(String taskGroupId) The ID of the task group that has a claim on the worker.toString()
-
Method Details
-
id
- Returns:
this.
-
status
The status of the worker.- Parameters:
status- the status of the worker- Returns:
this.
-
taskGroupId
-
registeredTime
The time at which the worker was registered.- Parameters:
registeredTime- the time at which the worker was registered- Returns:
this.
-
build
-
toString
-