Class StatusCodeCache
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.StatusCodeCache
-
public class StatusCodeCache extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description StatusCodeCache()
StatusCodeCache(StatusCodeCache 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 StatusCodeCacheRule[]
getCacheRules()
Get 状态码缓存过期规则明细 注意:此字段可能返回 null,表示取不到有效值。String
getSwitch()
Get 状态码缓存过期配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。void
setCacheRules(StatusCodeCacheRule[] CacheRules)
Set 状态码缓存过期规则明细 注意:此字段可能返回 null,表示取不到有效值。void
setSwitch(String Switch)
Set 状态码缓存过期配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。void
toMap(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
-
StatusCodeCache
public StatusCodeCache()
-
StatusCodeCache
public StatusCodeCache(StatusCodeCache 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
-
getSwitch
public String getSwitch()
Get 状态码缓存过期配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Switch 状态码缓存过期配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
setSwitch
public void setSwitch(String Switch)
Set 状态码缓存过期配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Switch
- 状态码缓存过期配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
getCacheRules
public StatusCodeCacheRule[] getCacheRules()
Get 状态码缓存过期规则明细 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CacheRules 状态码缓存过期规则明细 注意:此字段可能返回 null,表示取不到有效值。
-
setCacheRules
public void setCacheRules(StatusCodeCacheRule[] CacheRules)
Set 状态码缓存过期规则明细 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CacheRules
- 状态码缓存过期规则明细 注意:此字段可能返回 null,表示取不到有效值。
-
-