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
Modifier and TypeMethodDescriptioncriteriaList(Collection<AbortCriteria> criteriaList) The list of criteria that determine when and how to abort the job.criteriaList(Consumer<AbortCriteria.Builder>... criteriaList) The list of criteria that determine when and how to abort the job.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
The list of criteria that determine when and how to abort the job.
This is a convenience method that creates an instance of theAbortCriteria.Builderavoiding the need to create one manually viaAbortCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocriteriaList(List<AbortCriteria>).- 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:
-