public class CacheConfigParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheConfigParameters() |
CacheConfigParameters(CacheConfigParameters 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.
|
Modifier and Type | Method and Description |
---|---|
CacheConfigCustomTime |
getCustomTime()
Get 自定义缓存时间配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。
|
FollowOrigin |
getFollowOrigin()
Get 遵循源站缓存配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。
|
NoCache |
getNoCache()
Get 不缓存配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCustomTime(CacheConfigCustomTime CustomTime)
Set 自定义缓存时间配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFollowOrigin(FollowOrigin FollowOrigin)
Set 遵循源站缓存配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setNoCache(NoCache NoCache)
Set 不缓存配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CacheConfigParameters()
public CacheConfigParameters(CacheConfigParameters source)
public FollowOrigin getFollowOrigin()
public void setFollowOrigin(FollowOrigin FollowOrigin)
FollowOrigin
- 遵循源站缓存配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。public NoCache getNoCache()
public void setNoCache(NoCache NoCache)
NoCache
- 不缓存配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。public CacheConfigCustomTime getCustomTime()
public void setCustomTime(CacheConfigCustomTime CustomTime)
CustomTime
- 自定义缓存时间配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.