public class RuleCacheConfig extends AbstractModel
Constructor and Description |
---|
RuleCacheConfig() |
RuleCacheConfig(RuleCacheConfig 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 |
---|---|
CacheConfigCache |
getCache()
Get Cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
CacheConfigFollowOrigin |
getFollowOrigin()
Get Follows the origin server configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
CacheConfigNoCache |
getNoCache()
Get No cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setCache(CacheConfigCache Cache)
Set Cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setFollowOrigin(CacheConfigFollowOrigin FollowOrigin)
Set Follows the origin server configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setNoCache(CacheConfigNoCache NoCache)
Set No cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public RuleCacheConfig()
public RuleCacheConfig(RuleCacheConfig source)
public CacheConfigCache getCache()
public void setCache(CacheConfigCache Cache)
Cache
- Cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.public CacheConfigNoCache getNoCache()
public void setNoCache(CacheConfigNoCache NoCache)
NoCache
- No cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.public CacheConfigFollowOrigin getFollowOrigin()
public void setFollowOrigin(CacheConfigFollowOrigin FollowOrigin)
FollowOrigin
- Follows the origin server configuration
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2022. All rights reserved.