Interface RetryPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RetryPolicy.Builder,
,RetryPolicy> SdkBuilder<RetryPolicy.Builder,
,RetryPolicy> SdkPojo
- Enclosing class:
RetryPolicy
@Mutable
@NotThreadSafe
public static interface RetryPolicy.Builder
extends SdkPojo, CopyableBuilder<RetryPolicy.Builder,RetryPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionmaxAttempts
(Integer maxAttempts) Maximum number of attempts for the job run.maxFailedAttemptsPerHour
(Integer maxFailedAttemptsPerHour) Maximum number of failed attempts per hour.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 Details
-
maxAttempts
Maximum number of attempts for the job run. This parameter is only applicable for
BATCH
mode.- Parameters:
maxAttempts
- Maximum number of attempts for the job run. This parameter is only applicable forBATCH
mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxFailedAttemptsPerHour
Maximum number of failed attempts per hour. This [arameter is only applicable for
STREAMING
mode.- Parameters:
maxFailedAttemptsPerHour
- Maximum number of failed attempts per hour. This [arameter is only applicable forSTREAMING
mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-