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 Custom cache time.
|
FollowOrigin |
getFollowOrigin()
Get Cache follows origin server.
|
NoCache |
getNoCache()
Get No cache.
|
void |
setCustomTime(CustomTime CustomTime)
Set Custom cache time.
|
void |
setFollowOrigin(FollowOrigin FollowOrigin)
Set Cache follows origin server.
|
void |
setNoCache(NoCache NoCache)
Set No cache.
|
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 CacheParameters()
public CacheParameters(CacheParameters source)
public FollowOrigin getFollowOrigin()
public void setFollowOrigin(FollowOrigin FollowOrigin)
FollowOrigin
- Cache follows origin server. if not specified, this configuration is not set. only one of followorigin, nocache, or customtime can have switch set to on.
Note: this field may return null, which indicates a failure to obtain a valid value.public NoCache getNoCache()
public void setNoCache(NoCache NoCache)
NoCache
- No cache. if not specified, this configuration is not set. only one of followorigin, nocache, or customtime can have switch set to on.
Note: this field may return null, which indicates a failure to obtain a valid value.public CustomTime getCustomTime()
public void setCustomTime(CustomTime CustomTime)
CustomTime
- Custom cache time. if not specified, this configuration is not set. only one of followorigin, nocache, or customtime can have switch set to on.
Note: this field may return null, which indicates a failure to obtain a valid value.Copyright © 2025. All rights reserved.