public static interface AbortConfig.Builder extends SdkPojo, CopyableBuilder<AbortConfig.Builder,AbortConfig>
Modifier and Type | Method and Description |
---|---|
AbortConfig.Builder |
criteriaList(AbortCriteria... criteriaList)
The list of criteria that determine when and how to abort the job.
|
AbortConfig.Builder |
criteriaList(Collection<AbortCriteria> criteriaList)
The list of criteria that determine when and how to abort the job.
|
AbortConfig.Builder |
criteriaList(Consumer<AbortCriteria.Builder>... criteriaList)
The list of criteria that determine when and how to abort the job.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AbortConfig.Builder criteriaList(Collection<AbortCriteria> criteriaList)
The list of criteria that determine when and how to abort the job.
criteriaList
- The list of criteria that determine when and how to abort the job.AbortConfig.Builder criteriaList(AbortCriteria... criteriaList)
The list of criteria that determine when and how to abort the job.
criteriaList
- The list of criteria that determine when and how to abort the job.AbortConfig.Builder criteriaList(Consumer<AbortCriteria.Builder>... criteriaList)
The list of criteria that determine when and how to abort the job.
This is a convenience method that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #criteriaList(List)
.criteriaList
- a consumer that will call methods on List.Builder
#criteriaList(List)
Copyright © 2022. All rights reserved.