Class NodeSearch.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<NodeSearch>
co.yellowdog.platform.interaction.scheduler.NodeSearch.Builder
- Enclosing class:
NodeSearch
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.deregisteredTime(InstantRange deregisteredTime) instanceId(String instanceId) instanceType(String instanceType) preemptionWarningTime(InstantRange preemptionWarningTime) provider(CloudProvider provider) providers(Collection<? extends CloudProvider> providers) ram(DoubleRange ram) registeredTime(InstantRange registeredTime) sortDirection(SortDirection sortDirection) status(NodeStatus status) statuses(Collection<? extends NodeStatus> statuses) toString()vcpus(DoubleRange vcpus) workerClaimCount(LongRange workerClaimCount) workerPoolId(String workerPoolId) workerRegisteredTime(InstantRange workerRegisteredTime) workerStatus(WorkerStatus workerStatus) workerStatuses(Collection<? extends WorkerStatus> workerStatuses) workerTaskGroupId(String workerTaskGroupId) Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
workerPoolId
- Returns:
this.
-
status
-
statuses
-
clearStatuses
-
provider
-
providers
-
clearProviders
-
instanceId
- Returns:
this.
-
region
- Returns:
this.
-
instanceType
- Returns:
this.
-
ram
- Returns:
this.
-
vcpus
- Returns:
this.
-
workerClaimCount
- Returns:
this.
-
workerRegisteredTime
- Returns:
this.
-
registeredTime
- Returns:
this.
-
deregisteredTime
- Returns:
this.
-
preemptionWarningTime
- Returns:
this.
-
workerTaskGroupId
- Returns:
this.
-
workerTag
- Returns:
this.
-
workerStatus
-
workerStatuses
-
clearWorkerStatuses
-
sortField
- Returns:
this.
-
sortDirection
- Returns:
this.
-
buildUnchecked
Description copied from class:ValidatedBuilderBuilds the object without enforcing validation constraints. This should only be used for testing purposes- Overrides:
buildUncheckedin classValidatedBuilder<NodeSearch>- Returns:
- the object being built
-
toString
-