Interface JobExecutionsRetryConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JobExecutionsRetryConfig.Builder,,JobExecutionsRetryConfig> SdkBuilder<JobExecutionsRetryConfig.Builder,,JobExecutionsRetryConfig> SdkPojo
- Enclosing class:
JobExecutionsRetryConfig
public static interface JobExecutionsRetryConfig.Builder
extends SdkPojo, CopyableBuilder<JobExecutionsRetryConfig.Builder,JobExecutionsRetryConfig>
-
Method Summary
Modifier and TypeMethodDescriptioncriteriaList(Collection<RetryCriteria> criteriaList) The list of criteria that determines how many retries are allowed for each failure type for a job.criteriaList(Consumer<RetryCriteria.Builder>... criteriaList) The list of criteria that determines how many retries are allowed for each failure type for a job.criteriaList(RetryCriteria... criteriaList) The list of criteria that determines how many retries are allowed for each failure type for a 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 determines how many retries are allowed for each failure type for a job.
- Parameters:
criteriaList- The list of criteria that determines how many retries are allowed for each failure type for a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteriaList
The list of criteria that determines how many retries are allowed for each failure type for a job.
- Parameters:
criteriaList- The list of criteria that determines how many retries are allowed for each failure type for a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteriaList
The list of criteria that determines how many retries are allowed for each failure type for a job.
This is a convenience method that creates an instance of theRetryCriteria.Builderavoiding the need to create one manually viaRetryCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocriteriaList(List<RetryCriteria>).- Parameters:
criteriaList- a consumer that will call methods onRetryCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-