Class ComputeRequirementSummary.Builder
java.lang.Object
co.yellowdog.platform.interaction.compute.ComputeRequirementSummary.Builder
- Enclosing class:
ComputeRequirementSummary
-
Method Summary
Modifier and TypeMethodDescriptionaliveInstanceCount
(int aliveInstanceCount) The number of alive instances.build()
createdTime
(Instant createdTime) The date and time when this compute requirement was first submitted to YellowDog Compute.expectedInstanceCount
(int expectedInstanceCount) The number of alive instances expected based on existing instances and the most recent provision action.healthy
(boolean healthy) Represents whether the compute requirement is healthy or not.The ID of this compute requirement that is generated by YellowDog Compute when the requirement is first submitted.The user allocated name used to uniquely identify the compute requirement within its namespace.The user allocated namespace used to group compute requirements and other objects together.status
(ComputeRequirementStatus status) The status of this compute requirement.targetInstanceCount
(int targetInstanceCount) The number of instances to be provisioned to meet this compute requirement.toString()
-
Method Details
-
id
The ID of this compute requirement that is generated by YellowDog Compute when the requirement is first submitted.- Parameters:
id
- This is a summary type, setting the property has no effect.- Returns:
this
.
-
namespace
The user allocated namespace used to group compute requirements and other objects together.- Parameters:
namespace
- This is a summary type, setting the property has no effect.- Returns:
this
.
-
name
The user allocated name used to uniquely identify the compute requirement within its namespace.- Parameters:
name
- This is a summary type, setting the property has no effect.- Returns:
this
.
-
tag
- Returns:
this
.
-
targetInstanceCount
The number of instances to be provisioned to meet this compute requirement.- Parameters:
targetInstanceCount
- This is a summary type, setting the property has no effect.- Returns:
this
.
-
expectedInstanceCount
The number of alive instances expected based on existing instances and the most recent provision action.- Parameters:
expectedInstanceCount
- This is a summary type, setting the property has no effect.- Returns:
this
.
-
aliveInstanceCount
The number of alive instances.- Parameters:
expectedInstanceCount
- This is a summary type, setting the property has no effect.- Returns:
this
.
-
createdTime
The date and time when this compute requirement was first submitted to YellowDog Compute.- Parameters:
createdTime
- This is a summary type, setting the property has no effect.- Returns:
this
.
-
status
The status of this compute requirement.- Parameters:
status
- This is a summary type, setting the property has no effect.- Returns:
this
.
-
healthy
Represents whether the compute requirement is healthy or not. A compute requirement is considered healthy if no sources have a status of ERRORED- Parameters:
healthy
- This is a summary type, setting the property has no effect.- Returns:
this
.
-
build
-
toString
-