Class Cache
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.Cache
-
public class Cache 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 AdvancedCachegetAdvancedCache()Get 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。RuleCache[]getRuleCache()Get 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。SimpleCachegetSimpleCache()Get 基础缓存过期时间配置 注意:此字段可能返回 null,表示取不到有效值。voidsetAdvancedCache(AdvancedCache AdvancedCache)Set 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。voidsetRuleCache(RuleCache[] RuleCache)Set 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。voidsetSimpleCache(SimpleCache SimpleCache)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
-
Cache
public Cache()
-
Cache
public Cache(Cache 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
-
getSimpleCache
public SimpleCache getSimpleCache()
Get 基础缓存过期时间配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SimpleCache 基础缓存过期时间配置 注意:此字段可能返回 null,表示取不到有效值。
-
setSimpleCache
public void setSimpleCache(SimpleCache SimpleCache)
Set 基础缓存过期时间配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SimpleCache- 基础缓存过期时间配置 注意:此字段可能返回 null,表示取不到有效值。
-
getAdvancedCache
public AdvancedCache getAdvancedCache()
Get 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AdvancedCache 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。
-
setAdvancedCache
public void setAdvancedCache(AdvancedCache AdvancedCache)
Set 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AdvancedCache- 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。
-
getRuleCache
public RuleCache[] getRuleCache()
Get 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RuleCache 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。
-
setRuleCache
public void setRuleCache(RuleCache[] RuleCache)
Set 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RuleCache- 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。
-
-