Class ConfiguredWorkerPool
java.lang.Object
co.yellowdog.platform.model.ConfiguredWorkerPool
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfiguredWorkerPool.Builderbuilder()protected booleanbooleanThe date and time when the worker pool was created.intThe expected number of nodes.getId()Returns the IDgetName()The name used to uniquely identify this worker pool.The namespace that this worker pool is constrained to.The summary of the nodes in this worker pool.The properties of this worker pool.The worker pool status.The date and time when the status last changed.The summary of the workers in this worker pool.inthashCode()booleanIndicates if the worker pool is awaiting the registration of nodes.voidsetAwaitingNodes(boolean awaitingNodes) voidsetCreatedTime(Instant createdTime) voidsetExpectedNodeCount(int expectedNodeCount) voidvoidvoidsetNamespace(String namespace) voidsetNodeSummary(NodeSummary nodeSummary) voidsetProperties(ConfiguredWorkerPoolProperties properties) voidsetStatus(WorkerPoolStatus status) voidsetStatusChangedTime(Instant statusChangedTime) voidsetWorkerSummary(WorkerSummary workerSummary) toString()
-
Method Details
-
builder
-
getId
Description copied from interface:IdentifiedReturns the ID- Specified by:
getIdin interfaceIdentified- Specified by:
getIdin interfaceWorkerPool- Returns:
- the ID
-
getName
Description copied from interface:WorkerPoolThe name used to uniquely identify this worker pool.- Specified by:
getNamein interfaceNamed- Specified by:
getNamein interfaceWorkerPool- Returns:
- the worker pool name
-
getNamespace
Description copied from interface:WorkerPoolThe namespace that this worker pool is constrained to.- Specified by:
getNamespacein interfaceWorkerPool- Returns:
- the namespace that the worker pool is constrained to
-
getCreatedTime
Description copied from interface:WorkerPoolThe date and time when the worker pool was created.- Specified by:
getCreatedTimein interfaceWorkerPool- Returns:
- the date and time when the worker pool was created
-
getStatus
Description copied from interface:WorkerPoolThe worker pool status.- Specified by:
getStatusin interfaceWorkerPool- Returns:
- the worker pool status
-
getStatusChangedTime
Description copied from interface:WorkerPoolThe date and time when the status last changed.- Specified by:
getStatusChangedTimein interfaceWorkerPool- Returns:
- the date and time when the status last changed
-
getExpectedNodeCount
public int getExpectedNodeCount()Description copied from interface:WorkerPoolThe expected number of nodes.- Specified by:
getExpectedNodeCountin interfaceWorkerPool- Returns:
- the expected number of nodes
-
isAwaitingNodes
public boolean isAwaitingNodes()Description copied from interface:WorkerPoolIndicates if the worker pool is awaiting the registration of nodes.- Specified by:
isAwaitingNodesin interfaceWorkerPool- Returns:
- true, if the worker pool is awaiting the registration of nodes; otherwise, false
-
getWorkerSummary
Description copied from interface:WorkerPoolThe summary of the workers in this worker pool.- Specified by:
getWorkerSummaryin interfaceWorkerPool- Returns:
- the summary of the workers
-
getNodeSummary
Description copied from interface:WorkerPoolThe summary of the nodes in this worker pool.- Specified by:
getNodeSummaryin interfaceWorkerPool- Returns:
- the summary of the nodes
-
getProperties
Description copied from interface:WorkerPoolThe properties of this worker pool.- Specified by:
getPropertiesin interfaceWorkerPool- Returns:
- the properties of this worker pool
-
setId
-
setName
-
setNamespace
-
setCreatedTime
-
setStatus
-
setStatusChangedTime
-
setExpectedNodeCount
public void setExpectedNodeCount(int expectedNodeCount) -
setAwaitingNodes
public void setAwaitingNodes(boolean awaitingNodes) -
setWorkerSummary
-
setNodeSummary
-
setProperties
-
equals
-
canEqual
-
hashCode
-
toString
-