Interface RetryPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RetryPolicy.Builder,RetryPolicy>,SdkBuilder<RetryPolicy.Builder,RetryPolicy>,SdkPojo
- Enclosing class:
- RetryPolicy
public static interface RetryPolicy.Builder extends SdkPojo, CopyableBuilder<RetryPolicy.Builder,RetryPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetryPolicy.BuildermaxAttempts(Integer maxAttempts)Maximum number of attempts for the job run.RetryPolicy.BuildermaxFailedAttemptsPerHour(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, sdkFields
-
-
-
-
Method Detail
-
maxAttempts
RetryPolicy.Builder maxAttempts(Integer maxAttempts)
Maximum number of attempts for the job run. This parameter is only applicable for
BATCHmode.- Parameters:
maxAttempts- Maximum number of attempts for the job run. This parameter is only applicable forBATCHmode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxFailedAttemptsPerHour
RetryPolicy.Builder maxFailedAttemptsPerHour(Integer maxFailedAttemptsPerHour)
Maximum number of failed attempts per hour. This [arameter is only applicable for
STREAMINGmode.- Parameters:
maxFailedAttemptsPerHour- Maximum number of failed attempts per hour. This [arameter is only applicable forSTREAMINGmode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-