Class Node.Builder
java.lang.Object
co.yellowdog.platform.model.Node.Builder
-
Method Summary
Modifier and TypeMethodDescriptionactionQueueStatus
(NodeActionQueueStatus actionQueueStatus) The status of the action queue for the node.agentVersion
(String agentVersion) build()
details
(NodeDetails details) The details of the node.The ID of the node.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.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
.
-
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
- Returns:
this
.
-
build
-
toString
-