Class StatusCodeCacheRule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.StatusCodeCacheRule
-
public class StatusCodeCacheRule extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description StatusCodeCacheRule()
StatusCodeCacheRule(StatusCodeCacheRule 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 Long
getCacheTime()
Get 状态码缓存过期时间,单位秒String
getStatusCode()
Get http 状态码 支持 403、404 状态码void
setCacheTime(Long CacheTime)
Set 状态码缓存过期时间,单位秒void
setStatusCode(String StatusCode)
Set http 状态码 支持 403、404 状态码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
-
StatusCodeCacheRule
public StatusCodeCacheRule()
-
StatusCodeCacheRule
public StatusCodeCacheRule(StatusCodeCacheRule 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
-
getStatusCode
public String getStatusCode()
Get http 状态码 支持 403、404 状态码- Returns:
- StatusCode http 状态码 支持 403、404 状态码
-
setStatusCode
public void setStatusCode(String StatusCode)
Set http 状态码 支持 403、404 状态码- Parameters:
StatusCode
- http 状态码 支持 403、404 状态码
-
getCacheTime
public Long getCacheTime()
Get 状态码缓存过期时间,单位秒- Returns:
- CacheTime 状态码缓存过期时间,单位秒
-
setCacheTime
public void setCacheTime(Long CacheTime)
Set 状态码缓存过期时间,单位秒- Parameters:
CacheTime
- 状态码缓存过期时间,单位秒
-
-