Class MaxAge
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.MaxAge
-
public class MaxAge 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 MaxAgeCodeRulegetMaxAgeCodeRule()Get MaxAge 状态码相关规则 注意:此字段可能返回 null,表示取不到有效值。MaxAgeRule[]getMaxAgeRules()Get MaxAge 规则 注意:此字段可能返回 null,表示取不到有效值。StringgetSwitch()Get 浏览器缓存配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。voidsetMaxAgeCodeRule(MaxAgeCodeRule MaxAgeCodeRule)Set MaxAge 状态码相关规则 注意:此字段可能返回 null,表示取不到有效值。voidsetMaxAgeRules(MaxAgeRule[] MaxAgeRules)Set MaxAge 规则 注意:此字段可能返回 null,表示取不到有效值。voidsetSwitch(String Switch)Set 浏览器缓存配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 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
-
MaxAge
public MaxAge()
-
MaxAge
public MaxAge(MaxAge 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:关闭 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Switch 浏览器缓存配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
setSwitch
public void setSwitch(String Switch)
Set 浏览器缓存配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Switch- 浏览器缓存配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
getMaxAgeRules
public MaxAgeRule[] getMaxAgeRules()
Get MaxAge 规则 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MaxAgeRules MaxAge 规则 注意:此字段可能返回 null,表示取不到有效值。
-
setMaxAgeRules
public void setMaxAgeRules(MaxAgeRule[] MaxAgeRules)
Set MaxAge 规则 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MaxAgeRules- MaxAge 规则 注意:此字段可能返回 null,表示取不到有效值。
-
getMaxAgeCodeRule
public MaxAgeCodeRule getMaxAgeCodeRule()
Get MaxAge 状态码相关规则 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MaxAgeCodeRule MaxAge 状态码相关规则 注意:此字段可能返回 null,表示取不到有效值。
-
setMaxAgeCodeRule
public void setMaxAgeCodeRule(MaxAgeCodeRule MaxAgeCodeRule)
Set MaxAge 状态码相关规则 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MaxAgeCodeRule- MaxAge 状态码相关规则 注意:此字段可能返回 null,表示取不到有效值。
-
-