Class Node.Builder
java.lang.Object
co.yellowdog.platform.model.Node.Builder
- Enclosing class:
Node
-
Method Summary
Modifier and TypeMethodDescriptionactionQueueStatus(NodeActionQueueStatus actionQueueStatus) The status of the action queue for the node.agentVersion(String agentVersion) The version of the agent running on the node.build()deregisteredTime(Instant deregisteredTime) The time when the node was deregistered.details(NodeDetails details) The details of the node.The ID of the node.preemptionWarningTime(Instant preemptionWarningTime) The time when the node notified of preemption.registeredTime(Instant registeredTime) The time when the node was registered.status(NodeStatus status) The status of this instance.statusChangedTime(Instant statusChangedTime) The date and time when the status last changed.taskGroupTaskQueues(Map<String, NodeTaskQueue> taskGroupTaskQueues) A map keyed on task group holding status information related to the task queues local to the node.toString()workerPoolId(String workerPoolId) The ID of the worker pool containing the node.The workers on this instance.
-
Method Details
-
id
The ID of the node.- Parameters:
id- the ID of the node- Returns:
this.
-
workerPoolId
The ID of the worker pool containing the node.- Parameters:
workerPoolId- the ID of the worker pool- Returns:
this.
-
details
The details of the node.- Parameters:
details- the details of the node- Returns:
this.
-
status
The status of this instance.- Parameters:
status- the status- Returns:
this.
-
statusChangedTime
The date and time when the status last changed.- Parameters:
statusChangedTime- the date and time when the status last changed- Returns:
this.
-
registeredTime
The time when the node was registered.- Parameters:
registeredTime- the time when the node was registered- Returns:
this.
-
deregisteredTime
The time when the node was deregistered.- Parameters:
deregisteredTime- the time when the node was deregistered- Returns:
this.
-
preemptionWarningTime
The time when the node notified of preemption.- Parameters:
preemptionWarningTime- the time when the node notified of preemption- Returns:
this.
-
workers
The workers on this instance.- Parameters:
workers- the workers- Returns:
this.
-
actionQueueStatus
The status of the action queue for the node.- Parameters:
actionQueueStatus- the status of the action queue- Returns:
this.
-
agentVersion
The version of the agent running on the node.- Parameters:
agentVersion- the version of the agent- Returns:
this.
-
taskGroupTaskQueues
A map keyed on task group holding status information related to the task queues local to the node.- Parameters:
taskGroupTaskQueues- a map of task group to task queue status information- Returns:
this.
-
build
-
toString
-