Class ProvisionedWorkerPool
java.lang.Object
co.yellowdog.platform.model.ProvisionedWorkerPool
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The ID of the compute requirement used to provision the compute resource.The date and time when the worker pool was created.int
The 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.int
hashCode()
boolean
Indicates if the worker pool is awaiting the registration of nodes.void
setAwaitingNodes
(boolean awaitingNodes) void
setComputeRequirementId
(String computeRequirementId) The ID of the compute requirement used to provision the compute resource.void
setCreatedTime
(Instant createdTime) void
setExpectedNodeCount
(int expectedNodeCount) void
void
void
setNamespace
(String namespace) void
setNodeSummary
(NodeSummary nodeSummary) void
setProperties
(ProvisionedWorkerPoolProperties properties) void
setStatus
(WorkerPoolStatus status) void
setStatusChangedTime
(Instant statusChangedTime) void
setWorkerSummary
(WorkerSummary workerSummary) toString()
-
Method Details
-
builder
-
getId
Description copied from interface:Identified
Returns the ID- Specified by:
getId
in interfaceIdentified
- Specified by:
getId
in interfaceWorkerPool
- Returns:
- the ID
-
getName
Description copied from interface:WorkerPool
The name used to uniquely identify this worker pool.- Specified by:
getName
in interfaceNamed
- Specified by:
getName
in interfaceWorkerPool
- Returns:
- the worker pool name
-
getNamespace
Description copied from interface:WorkerPool
The namespace that this worker pool is constrained to.- Specified by:
getNamespace
in interfaceWorkerPool
- Returns:
- the namespace that the worker pool is constrained to
-
getCreatedTime
Description copied from interface:WorkerPool
The date and time when the worker pool was created.- Specified by:
getCreatedTime
in interfaceWorkerPool
- Returns:
- the date and time when the worker pool was created
-
getStatus
Description copied from interface:WorkerPool
The worker pool status.- Specified by:
getStatus
in interfaceWorkerPool
- Returns:
- the worker pool status
-
getStatusChangedTime
Description copied from interface:WorkerPool
The date and time when the status last changed.- Specified by:
getStatusChangedTime
in interfaceWorkerPool
- Returns:
- the date and time when the status last changed
-
getExpectedNodeCount
public int getExpectedNodeCount()Description copied from interface:WorkerPool
The expected number of nodes.- Specified by:
getExpectedNodeCount
in interfaceWorkerPool
- Returns:
- the expected number of nodes
-
isAwaitingNodes
public boolean isAwaitingNodes()Description copied from interface:WorkerPool
Indicates if the worker pool is awaiting the registration of nodes.- Specified by:
isAwaitingNodes
in interfaceWorkerPool
- Returns:
- true, if the worker pool is awaiting the registration of nodes; otherwise, false
-
getWorkerSummary
Description copied from interface:WorkerPool
The summary of the workers in this worker pool.- Specified by:
getWorkerSummary
in interfaceWorkerPool
- Returns:
- the summary of the workers
-
getNodeSummary
Description copied from interface:WorkerPool
The summary of the nodes in this worker pool.- Specified by:
getNodeSummary
in interfaceWorkerPool
- Returns:
- the summary of the nodes
-
getProperties
Description copied from interface:WorkerPool
The properties of this worker pool.- Specified by:
getProperties
in interfaceWorkerPool
- Returns:
- the properties of this worker pool
-
getComputeRequirementId
The ID of the compute requirement used to provision the compute resource.- Returns:
- the compute requirement ID
-
setId
-
setName
-
setNamespace
-
setCreatedTime
-
setStatus
-
setStatusChangedTime
-
setExpectedNodeCount
public void setExpectedNodeCount(int expectedNodeCount) -
setAwaitingNodes
public void setAwaitingNodes(boolean awaitingNodes) -
setWorkerSummary
-
setNodeSummary
-
setProperties
-
setComputeRequirementId
The ID of the compute requirement used to provision the compute resource. -
equals
-
canEqual
-
hashCode
-
toString
-