Class WarmupSetting
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tsf.v20180326.models.WarmupSetting
-
public class WarmupSetting extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description WarmupSetting()WarmupSetting(WarmupSetting 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 LonggetCurvature()Get 预热曲率,取值 1~5BooleangetEnabled()Get 是否开启预热BooleangetEnabledProtection()Get 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热LonggetWarmupTime()Get 预热时间voidsetCurvature(Long Curvature)Set 预热曲率,取值 1~5voidsetEnabled(Boolean Enabled)Set 是否开启预热voidsetEnabledProtection(Boolean EnabledProtection)Set 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热voidsetWarmupTime(Long WarmupTime)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
-
WarmupSetting
public WarmupSetting()
-
WarmupSetting
public WarmupSetting(WarmupSetting 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
-
getEnabled
public Boolean getEnabled()
Get 是否开启预热- Returns:
- Enabled 是否开启预热
-
setEnabled
public void setEnabled(Boolean Enabled)
Set 是否开启预热- Parameters:
Enabled- 是否开启预热
-
getWarmupTime
public Long getWarmupTime()
Get 预热时间- Returns:
- WarmupTime 预热时间
-
setWarmupTime
public void setWarmupTime(Long WarmupTime)
Set 预热时间- Parameters:
WarmupTime- 预热时间
-
getCurvature
public Long getCurvature()
Get 预热曲率,取值 1~5- Returns:
- Curvature 预热曲率,取值 1~5
-
setCurvature
public void setCurvature(Long Curvature)
Set 预热曲率,取值 1~5- Parameters:
Curvature- 预热曲率,取值 1~5
-
getEnabledProtection
public Boolean getEnabledProtection()
Get 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热- Returns:
- EnabledProtection 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热
-
setEnabledProtection
public void setEnabledProtection(Boolean EnabledProtection)
Set 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热- Parameters:
EnabledProtection- 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热
-
-