public class CacheParameters extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CacheParameters() | 
| CacheParameters(CacheParameters 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 | 
|---|---|
| CustomTime | 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(CustomTime 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, toJsonStringpublic CacheParameters()
public CacheParameters(CacheParameters 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 CustomTime getCustomTime()
public void setCustomTime(CustomTime CustomTime)
CustomTime - 自定义缓存时间。不填表示不设置该配置,FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.