Uses of Class
co.yellowdog.platform.model.RunSpecification.Builder
Packages that use RunSpecification.Builder
Package
Description
Provides the types that define the YellowDog Platform data model.
-
Uses of RunSpecification.Builder in co.yellowdog.platform.model
Methods in co.yellowdog.platform.model that return RunSpecification.BuilderModifier and TypeMethodDescriptionstatic RunSpecification.BuilderRunSpecification.builder()RunSpecification.Builder.clearInstanceTypes()RunSpecification.Builder.clearNamespaces()RunSpecification.Builder.clearProviders()RunSpecification.Builder.clearRegions()RunSpecification.Builder.clearRetryableErrors()RunSpecification.Builder.clearTaskTypes()RunSpecification.Builder.clearWorkerTags()RunSpecification.Builder.exclusiveWorkers(Boolean exclusiveWorkers) If true, then do not allow claimed Workers to be shared with other task groups; otherwise, Workers can be shared.RunSpecification.Builder.instanceType(@NotBlank String instanceType) RunSpecification.Builder.instanceTypes(Collection<? extends @NotBlank String> instanceTypes) RunSpecification.Builder.maximumTaskRetries(int maximumTaskRetries) The maximum number of times a task can be retried after it has failed.RunSpecification.Builder.maxWorkers(Integer maxWorkers) The maximum number of Workers that can be claimed for the associated TaskGroup.RunSpecification.Builder.minWorkers(Integer minWorkers) The minimum number of Workers that the associated TaskGroup requires.RunSpecification.Builder.namespace(@NotBlank @Namespace String namespace) RunSpecification.Builder.namespaces(Collection<? extends @NotBlank @Namespace String> namespaces) RunSpecification.Builder.provider(@NotNull CloudProvider provider) RunSpecification.Builder.providers(Collection<? extends @NotNull CloudProvider> providers) RunSpecification.Builder.ram(DoubleRange ram) Range constraint on GB of RAM that are required to execute tasksRunSpecification.Builder.regions(Collection<? extends @NotBlank String> regions) RunSpecification.Builder.retryableError(TaskErrorMatcher retryableError) RunSpecification.Builder.retryableErrors(Collection<? extends TaskErrorMatcher> retryableErrors) RunSpecification.Builder.tasksPerWorker(Integer tasksPerWorker) Determines the number of worker claims based on splitting the number of unfinished tasks across workers.RunSpecification.Builder.taskTimeout(Duration taskTimeout) The maximum time that a worker should attempt to execute a task for before failing it.RunSpecification.Builder.taskTypes(Collection<? extends @NotBlank String> taskTypes) RunSpecification.toBuilder()RunSpecification.Builder.vcpus(DoubleRange vcpus) Range constraint on number of vCPUs that are required to execute tasksRunSpecification.Builder.workerTags(Collection<? extends @NotBlank @Size(max=200) String> workerTags)