Class CacheKey
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.CacheKey
-
public class CacheKey extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheTagKey
getCacheTag()
Get CacheKey中包含自定义字符串 注意:此字段可能返回 null,表示取不到有效值。CookieKey
getCookie()
Get CacheKey中包含Cookie 注意:此字段可能返回 null,表示取不到有效值。String
getFullUrlCache()
Get 是否开启全路径缓存 on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略)HeaderKey
getHeader()
Get CacheKey中包含请求头部 注意:此字段可能返回 null,表示取不到有效值。String
getIgnoreCase()
Get 是否忽略大小写缓存 注意:此字段可能返回 null,表示取不到有效值。KeyRule[]
getKeyRules()
Get 分路径缓存键配置 注意:此字段可能返回 null,表示取不到有效值。QueryStringKey
getQueryString()
Get CacheKey中包含请求参数 注意:此字段可能返回 null,表示取不到有效值。SchemeKey
getScheme()
Get CacheKey中包含请求协议 注意:此字段可能返回 null,表示取不到有效值。void
setCacheTag(CacheTagKey CacheTag)
Set CacheKey中包含自定义字符串 注意:此字段可能返回 null,表示取不到有效值。void
setCookie(CookieKey Cookie)
Set CacheKey中包含Cookie 注意:此字段可能返回 null,表示取不到有效值。void
setFullUrlCache(String FullUrlCache)
Set 是否开启全路径缓存 on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略)void
setHeader(HeaderKey Header)
Set CacheKey中包含请求头部 注意:此字段可能返回 null,表示取不到有效值。void
setIgnoreCase(String IgnoreCase)
Set 是否忽略大小写缓存 注意:此字段可能返回 null,表示取不到有效值。void
setKeyRules(KeyRule[] KeyRules)
Set 分路径缓存键配置 注意:此字段可能返回 null,表示取不到有效值。void
setQueryString(QueryStringKey QueryString)
Set CacheKey中包含请求参数 注意:此字段可能返回 null,表示取不到有效值。void
setScheme(SchemeKey Scheme)
Set CacheKey中包含请求协议 注意:此字段可能返回 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
-
CacheKey
public CacheKey()
-
CacheKey
public CacheKey(CacheKey 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
-
getFullUrlCache
public String getFullUrlCache()
Get 是否开启全路径缓存 on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略)- Returns:
- FullUrlCache 是否开启全路径缓存 on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略)
-
setFullUrlCache
public void setFullUrlCache(String FullUrlCache)
Set 是否开启全路径缓存 on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略)- Parameters:
FullUrlCache
- 是否开启全路径缓存 on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略)
-
getIgnoreCase
public String getIgnoreCase()
Get 是否忽略大小写缓存 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IgnoreCase 是否忽略大小写缓存 注意:此字段可能返回 null,表示取不到有效值。
-
setIgnoreCase
public void setIgnoreCase(String IgnoreCase)
Set 是否忽略大小写缓存 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IgnoreCase
- 是否忽略大小写缓存 注意:此字段可能返回 null,表示取不到有效值。
-
getQueryString
public QueryStringKey getQueryString()
Get CacheKey中包含请求参数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- QueryString CacheKey中包含请求参数 注意:此字段可能返回 null,表示取不到有效值。
-
setQueryString
public void setQueryString(QueryStringKey QueryString)
Set CacheKey中包含请求参数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
QueryString
- CacheKey中包含请求参数 注意:此字段可能返回 null,表示取不到有效值。
-
getCookie
public CookieKey getCookie()
Get CacheKey中包含Cookie 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Cookie CacheKey中包含Cookie 注意:此字段可能返回 null,表示取不到有效值。
-
setCookie
public void setCookie(CookieKey Cookie)
Set CacheKey中包含Cookie 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Cookie
- CacheKey中包含Cookie 注意:此字段可能返回 null,表示取不到有效值。
-
getHeader
public HeaderKey getHeader()
Get CacheKey中包含请求头部 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Header CacheKey中包含请求头部 注意:此字段可能返回 null,表示取不到有效值。
-
setHeader
public void setHeader(HeaderKey Header)
Set CacheKey中包含请求头部 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Header
- CacheKey中包含请求头部 注意:此字段可能返回 null,表示取不到有效值。
-
getCacheTag
public CacheTagKey getCacheTag()
Get CacheKey中包含自定义字符串 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CacheTag CacheKey中包含自定义字符串 注意:此字段可能返回 null,表示取不到有效值。
-
setCacheTag
public void setCacheTag(CacheTagKey CacheTag)
Set CacheKey中包含自定义字符串 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CacheTag
- CacheKey中包含自定义字符串 注意:此字段可能返回 null,表示取不到有效值。
-
getScheme
public SchemeKey getScheme()
Get CacheKey中包含请求协议 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Scheme CacheKey中包含请求协议 注意:此字段可能返回 null,表示取不到有效值。
-
setScheme
public void setScheme(SchemeKey Scheme)
Set CacheKey中包含请求协议 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Scheme
- CacheKey中包含请求协议 注意:此字段可能返回 null,表示取不到有效值。
-
getKeyRules
public KeyRule[] getKeyRules()
Get 分路径缓存键配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- KeyRules 分路径缓存键配置 注意:此字段可能返回 null,表示取不到有效值。
-
setKeyRules
public void setKeyRules(KeyRule[] KeyRules)
Set 分路径缓存键配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
KeyRules
- 分路径缓存键配置 注意:此字段可能返回 null,表示取不到有效值。
-
-