public static class BackoffRetryPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackoffRetryPolicy |
build() |
BackoffRetryPolicy.Builder |
copy(BackoffRetryPolicy model) |
BackoffRetryPolicy.Builder |
maxRetryDuration(Integer maxRetryDuration)
The maximum retry duration in milliseconds.
|
BackoffRetryPolicy.Builder |
policyType(BackoffRetryPolicy.PolicyType policyType)
The type of delivery policy.
|
public BackoffRetryPolicy.Builder maxRetryDuration(Integer maxRetryDuration)
The maximum retry duration in milliseconds. Default value is 7200000
(2 hours).
maxRetryDuration
- the value to setpublic BackoffRetryPolicy.Builder policyType(BackoffRetryPolicy.PolicyType policyType)
The type of delivery policy.
policyType
- the value to setpublic BackoffRetryPolicy build()
public BackoffRetryPolicy.Builder copy(BackoffRetryPolicy model)
Copyright © 2016–2024. All rights reserved.