Class RetryPolicy
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.eb.v20210416.models.RetryPolicy
-
public class RetryPolicy extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetMaxRetryAttempts()Get 最大重试次数LonggetRetryInterval()Get 重试间隔 单位:秒voidsetMaxRetryAttempts(Long MaxRetryAttempts)Set 最大重试次数voidsetRetryInterval(Long RetryInterval)Set 重试间隔 单位:秒voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
RetryPolicy
public RetryPolicy()
-
RetryPolicy
public 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.
-
-
Method Detail
-
getRetryInterval
public Long getRetryInterval()
Get 重试间隔 单位:秒- Returns:
- RetryInterval 重试间隔 单位:秒
-
setRetryInterval
public void setRetryInterval(Long RetryInterval)
Set 重试间隔 单位:秒- Parameters:
RetryInterval- 重试间隔 单位:秒
-
getMaxRetryAttempts
public Long getMaxRetryAttempts()
Get 最大重试次数- Returns:
- MaxRetryAttempts 最大重试次数
-
setMaxRetryAttempts
public void setMaxRetryAttempts(Long MaxRetryAttempts)
Set 最大重试次数- Parameters:
MaxRetryAttempts- 最大重试次数
-
-