Class CacheConfigFollowOrigin
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.CacheConfigFollowOrigin
-
public class CacheConfigFollowOrigin extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CacheConfigFollowOrigin()CacheConfigFollowOrigin(CacheConfigFollowOrigin 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 HeuristicCachegetHeuristicCache()Get 启发式缓存配置 注意:此字段可能返回 null,表示取不到有效值。StringgetSwitch()Get 路径缓存遵循源站配置开关,取值有: on:开启 off:关闭voidsetHeuristicCache(HeuristicCache HeuristicCache)Set 启发式缓存配置 注意:此字段可能返回 null,表示取不到有效值。voidsetSwitch(String Switch)Set 路径缓存遵循源站配置开关,取值有: on:开启 off:关闭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
-
CacheConfigFollowOrigin
public CacheConfigFollowOrigin()
-
CacheConfigFollowOrigin
public CacheConfigFollowOrigin(CacheConfigFollowOrigin 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:关闭- Returns:
- Switch 路径缓存遵循源站配置开关,取值有: on:开启 off:关闭
-
setSwitch
public void setSwitch(String Switch)
Set 路径缓存遵循源站配置开关,取值有: on:开启 off:关闭- Parameters:
Switch- 路径缓存遵循源站配置开关,取值有: on:开启 off:关闭
-
getHeuristicCache
public HeuristicCache getHeuristicCache()
Get 启发式缓存配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- HeuristicCache 启发式缓存配置 注意:此字段可能返回 null,表示取不到有效值。
-
setHeuristicCache
public void setHeuristicCache(HeuristicCache HeuristicCache)
Set 启发式缓存配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
HeuristicCache- 启发式缓存配置 注意:此字段可能返回 null,表示取不到有效值。
-
-