Class MaxAgeCodeRule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.MaxAgeCodeRule
-
public class MaxAgeCodeRule extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MaxAgeCodeRule()MaxAgeCodeRule(MaxAgeCodeRule 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 StringgetAction()Get 处理动作 clear:清除 cache-control 头部String[]getStatusCodes()Get 指定HTTP状态码生效,当前仅支持填写"400-599"voidsetAction(String Action)Set 处理动作 clear:清除 cache-control 头部voidsetStatusCodes(String[] StatusCodes)Set 指定HTTP状态码生效,当前仅支持填写"400-599"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
-
MaxAgeCodeRule
public MaxAgeCodeRule()
-
MaxAgeCodeRule
public MaxAgeCodeRule(MaxAgeCodeRule 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
-
getAction
public String getAction()
Get 处理动作 clear:清除 cache-control 头部- Returns:
- Action 处理动作 clear:清除 cache-control 头部
-
setAction
public void setAction(String Action)
Set 处理动作 clear:清除 cache-control 头部- Parameters:
Action- 处理动作 clear:清除 cache-control 头部
-
getStatusCodes
public String[] getStatusCodes()
Get 指定HTTP状态码生效,当前仅支持填写"400-599"- Returns:
- StatusCodes 指定HTTP状态码生效,当前仅支持填写"400-599"
-
setStatusCodes
public void setStatusCodes(String[] StatusCodes)
Set 指定HTTP状态码生效,当前仅支持填写"400-599"- Parameters:
StatusCodes- 指定HTTP状态码生效,当前仅支持填写"400-599"
-
-