Interface AwsJobAbortConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsJobAbortConfig.Builder,
,AwsJobAbortConfig> SdkBuilder<AwsJobAbortConfig.Builder,
,AwsJobAbortConfig> SdkPojo
- Enclosing class:
AwsJobAbortConfig
public static interface AwsJobAbortConfig.Builder
extends SdkPojo, CopyableBuilder<AwsJobAbortConfig.Builder,AwsJobAbortConfig>
-
Method Summary
Modifier and TypeMethodDescriptionabortCriteriaList
(Collection<AwsJobAbortCriteria> abortCriteriaList) The list of criteria that determine when and how to abort the job.abortCriteriaList
(Consumer<AwsJobAbortCriteria.Builder>... abortCriteriaList) The list of criteria that determine when and how to abort the job.abortCriteriaList
(AwsJobAbortCriteria... abortCriteriaList) 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, sdkFields
-
Method Details
-
abortCriteriaList
The list of criteria that determine when and how to abort the job.
- Parameters:
abortCriteriaList
- 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.
-
abortCriteriaList
The list of criteria that determine when and how to abort the job.
- Parameters:
abortCriteriaList
- 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.
-
abortCriteriaList
AwsJobAbortConfig.Builder abortCriteriaList(Consumer<AwsJobAbortCriteria.Builder>... abortCriteriaList) The list of criteria that determine when and how to abort the job.
This is a convenience method that creates an instance of theAwsJobAbortCriteria.Builder
avoiding the need to create one manually viaAwsJobAbortCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toabortCriteriaList(List<AwsJobAbortCriteria>)
.- Parameters:
abortCriteriaList
- a consumer that will call methods onAwsJobAbortCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-