Class RuleCacheConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.RuleCacheConfig
-
public class RuleCacheConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RuleCacheConfig()RuleCacheConfig(RuleCacheConfig 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 CacheConfigCachegetCache()Get 缓存配置 注意:此字段可能返回 null,表示取不到有效值。CacheConfigFollowOrigingetFollowOrigin()Get 遵循源站配置 注意:此字段可能返回 null,表示取不到有效值。CacheConfigNoCachegetNoCache()Get 不缓存配置 注意:此字段可能返回 null,表示取不到有效值。voidsetCache(CacheConfigCache Cache)Set 缓存配置 注意:此字段可能返回 null,表示取不到有效值。voidsetFollowOrigin(CacheConfigFollowOrigin FollowOrigin)Set 遵循源站配置 注意:此字段可能返回 null,表示取不到有效值。voidsetNoCache(CacheConfigNoCache NoCache)Set 不缓存配置 注意:此字段可能返回 null,表示取不到有效值。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
-
RuleCacheConfig
public RuleCacheConfig()
-
RuleCacheConfig
public RuleCacheConfig(RuleCacheConfig 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
-
getCache
public CacheConfigCache getCache()
Get 缓存配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Cache 缓存配置 注意:此字段可能返回 null,表示取不到有效值。
-
setCache
public void setCache(CacheConfigCache Cache)
Set 缓存配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Cache- 缓存配置 注意:此字段可能返回 null,表示取不到有效值。
-
getNoCache
public CacheConfigNoCache getNoCache()
Get 不缓存配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- NoCache 不缓存配置 注意:此字段可能返回 null,表示取不到有效值。
-
setNoCache
public void setNoCache(CacheConfigNoCache NoCache)
Set 不缓存配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
NoCache- 不缓存配置 注意:此字段可能返回 null,表示取不到有效值。
-
getFollowOrigin
public CacheConfigFollowOrigin getFollowOrigin()
Get 遵循源站配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FollowOrigin 遵循源站配置 注意:此字段可能返回 null,表示取不到有效值。
-
setFollowOrigin
public void setFollowOrigin(CacheConfigFollowOrigin FollowOrigin)
Set 遵循源站配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FollowOrigin- 遵循源站配置 注意:此字段可能返回 null,表示取不到有效值。
-
-