Interface AbortConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AbortConfig.Builder,AbortConfig>
,SdkBuilder<AbortConfig.Builder,AbortConfig>
,SdkPojo
- Enclosing class:
- AbortConfig
public static interface AbortConfig.Builder extends SdkPojo, CopyableBuilder<AbortConfig.Builder,AbortConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.AbortConfig.Builder
criteriaList(AbortCriteria... criteriaList)
The list of criteria that determine when and how to abort the job.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
criteriaList
AbortConfig.Builder criteriaList(Collection<AbortCriteria> criteriaList)
The list of criteria that determine when and how to abort the job.
- Parameters:
criteriaList
- The list of criteria that determine when and how to abort the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteriaList
AbortConfig.Builder criteriaList(AbortCriteria... criteriaList)
The list of criteria that determine when and how to abort the job.
- Parameters:
criteriaList
- The list of criteria that determine when and how to abort the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteriaList
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 theAbortCriteria.Builder
avoiding the need to create one manually viaAbortCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#criteriaList(List
.) - Parameters:
criteriaList
- a consumer that will call methods onAbortCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#criteriaList(java.util.Collection
)
-
-