public static interface RetryPolicy.Builder extends CopyableBuilder<RetryPolicy.Builder,RetryPolicy>
Modifier and Type | Method and Description |
---|---|
BackoffStrategy |
backoffStrategy() |
RetryPolicy.Builder |
backoffStrategy(BackoffStrategy backoffStrategy) |
RetryPolicy |
build() |
Integer |
numRetries() |
RetryPolicy.Builder |
numRetries(Integer numRetries) |
RetryCondition |
retryCondition() |
RetryPolicy.Builder |
retryCondition(RetryCondition retryCondition) |
BackoffStrategy |
throttlingBackoffStrategy() |
RetryPolicy.Builder |
throttlingBackoffStrategy(BackoffStrategy backoffStrategy) |
copy
applyMutation
RetryPolicy.Builder numRetries(Integer numRetries)
Integer numRetries()
RetryPolicy.Builder backoffStrategy(BackoffStrategy backoffStrategy)
BackoffStrategy backoffStrategy()
RetryPolicy.Builder throttlingBackoffStrategy(BackoffStrategy backoffStrategy)
BackoffStrategy throttlingBackoffStrategy()
RetryPolicy.Builder retryCondition(RetryCondition retryCondition)
RetryCondition retryCondition()
RetryPolicy build()
build
in interface Buildable
build
in interface SdkBuilder<RetryPolicy.Builder,RetryPolicy>
Copyright © 2019. All rights reserved.