Class FollowOrigin
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.FollowOrigin
-
public class FollowOrigin extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description FollowOrigin()FollowOrigin(FollowOrigin 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 StringgetDefaultCache()Get 源站未返回 Cache-Control 头时, 设置缓存/不缓存 注意:此字段可能返回 null,表示取不到有效值。StringgetDefaultCacheStrategy()Get 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略 注意:此字段可能返回 null,表示取不到有效值。LonggetDefaultCacheTime()Get 源站未返回 Cache-Control 头时, 设置默认的缓存时间 注意:此字段可能返回 null,表示取不到有效值。StringgetSwitch()Get 遵循源站配置开关,取值有: on:开启; off:关闭。voidsetDefaultCache(String DefaultCache)Set 源站未返回 Cache-Control 头时, 设置缓存/不缓存 注意:此字段可能返回 null,表示取不到有效值。voidsetDefaultCacheStrategy(String DefaultCacheStrategy)Set 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略 注意:此字段可能返回 null,表示取不到有效值。voidsetDefaultCacheTime(Long DefaultCacheTime)Set 源站未返回 Cache-Control 头时, 设置默认的缓存时间 注意:此字段可能返回 null,表示取不到有效值。voidsetSwitch(String Switch)Set 遵循源站配置开关,取值有: on:开启; off:关闭。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
-
FollowOrigin
public FollowOrigin()
-
FollowOrigin
public FollowOrigin(FollowOrigin 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:关闭。
- Returns:
- Switch 遵循源站配置开关,取值有:
- on:开启;
- off:关闭。
-
setSwitch
public void setSwitch(String Switch)
Set 遵循源站配置开关,取值有:- on:开启;
- off:关闭。
- Parameters:
Switch- 遵循源站配置开关,取值有:- on:开启;
- off:关闭。
-
getDefaultCacheTime
public Long getDefaultCacheTime()
Get 源站未返回 Cache-Control 头时, 设置默认的缓存时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DefaultCacheTime 源站未返回 Cache-Control 头时, 设置默认的缓存时间 注意:此字段可能返回 null,表示取不到有效值。
-
setDefaultCacheTime
public void setDefaultCacheTime(Long DefaultCacheTime)
Set 源站未返回 Cache-Control 头时, 设置默认的缓存时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DefaultCacheTime- 源站未返回 Cache-Control 头时, 设置默认的缓存时间 注意:此字段可能返回 null,表示取不到有效值。
-
getDefaultCache
public String getDefaultCache()
Get 源站未返回 Cache-Control 头时, 设置缓存/不缓存 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DefaultCache 源站未返回 Cache-Control 头时, 设置缓存/不缓存 注意:此字段可能返回 null,表示取不到有效值。
-
setDefaultCache
public void setDefaultCache(String DefaultCache)
Set 源站未返回 Cache-Control 头时, 设置缓存/不缓存 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DefaultCache- 源站未返回 Cache-Control 头时, 设置缓存/不缓存 注意:此字段可能返回 null,表示取不到有效值。
-
getDefaultCacheStrategy
public String getDefaultCacheStrategy()
Get 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DefaultCacheStrategy 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略 注意:此字段可能返回 null,表示取不到有效值。
-
setDefaultCacheStrategy
public void setDefaultCacheStrategy(String DefaultCacheStrategy)
Set 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DefaultCacheStrategy- 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略 注意:此字段可能返回 null,表示取不到有效值。
-
-