public class RetryPolicy extends AbstractModel
| Constructor and Description | 
|---|
| RetryPolicy() | 
| RetryPolicy(RetryPolicy source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getMaxRetryAttempts()Get Maximum number of retries | 
| Long | getRetryInterval()Get Retry interval in seconds | 
| void | setMaxRetryAttempts(Long MaxRetryAttempts)Set Maximum number of retries | 
| void | setRetryInterval(Long RetryInterval)Set Retry interval in seconds | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic RetryPolicy()
public RetryPolicy(RetryPolicy source)
public Long getRetryInterval()
public void setRetryInterval(Long RetryInterval)
RetryInterval - Retry interval in secondspublic Long getMaxRetryAttempts()
public void setMaxRetryAttempts(Long MaxRetryAttempts)
MaxRetryAttempts - Maximum number of retriesCopyright © 2023. All rights reserved.