Class CacheConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.CacheConfig
-
public class CacheConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CacheConfig()CacheConfig(CacheConfig 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 CachegetCache()Get 缓存配置。 注意:此字段可能返回 null,表示取不到有效值。FollowOrigingetFollowOrigin()Get 遵循源站配置。 注意:此字段可能返回 null,表示取不到有效值。NoCachegetNoCache()Get 不缓存配置。 注意:此字段可能返回 null,表示取不到有效值。voidsetCache(Cache Cache)Set 缓存配置。 注意:此字段可能返回 null,表示取不到有效值。voidsetFollowOrigin(FollowOrigin FollowOrigin)Set 遵循源站配置。 注意:此字段可能返回 null,表示取不到有效值。voidsetNoCache(NoCache NoCache)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
-
CacheConfig
public CacheConfig()
-
CacheConfig
public CacheConfig(CacheConfig 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
-
getCache
public Cache getCache()
Get 缓存配置。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Cache 缓存配置。 注意:此字段可能返回 null,表示取不到有效值。
-
setCache
public void setCache(Cache Cache)
Set 缓存配置。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Cache- 缓存配置。 注意:此字段可能返回 null,表示取不到有效值。
-
getNoCache
public NoCache getNoCache()
Get 不缓存配置。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- NoCache 不缓存配置。 注意:此字段可能返回 null,表示取不到有效值。
-
setNoCache
public void setNoCache(NoCache NoCache)
Set 不缓存配置。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
NoCache- 不缓存配置。 注意:此字段可能返回 null,表示取不到有效值。
-
getFollowOrigin
public FollowOrigin getFollowOrigin()
Get 遵循源站配置。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FollowOrigin 遵循源站配置。 注意:此字段可能返回 null,表示取不到有效值。
-
setFollowOrigin
public void setFollowOrigin(FollowOrigin FollowOrigin)
Set 遵循源站配置。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FollowOrigin- 遵循源站配置。 注意:此字段可能返回 null,表示取不到有效值。
-
-