public class RateLimitConfig extends AbstractModel
Constructor and Description |
---|
RateLimitConfig() |
RateLimitConfig(RateLimitConfig 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 |
---|---|
RateLimitUserRule[] |
getRateLimitCustomizes()
Get The custom rate limiting rules.
|
RateLimitIntelligence |
getRateLimitIntelligence()
Get The client filtering settings.
|
RateLimitTemplate |
getRateLimitTemplate()
Get The settings of the rate limiting template.
|
RateLimitUserRule[] |
getRateLimitUserRules()
Get The settings of the custom rate limiting rule.
|
String |
getSwitch()
Get Switch.
|
void |
setRateLimitCustomizes(RateLimitUserRule[] RateLimitCustomizes)
Set The custom rate limiting rules.
|
void |
setRateLimitIntelligence(RateLimitIntelligence RateLimitIntelligence)
Set The client filtering settings.
|
void |
setRateLimitTemplate(RateLimitTemplate RateLimitTemplate)
Set The settings of the rate limiting template.
|
void |
setRateLimitUserRules(RateLimitUserRule[] RateLimitUserRules)
Set The settings of the custom rate limiting rule.
|
void |
setSwitch(String Switch)
Set Switch.
|
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 RateLimitConfig()
public RateLimitConfig(RateLimitConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Switch. Values:
public RateLimitUserRule[] getRateLimitUserRules()
public void setRateLimitUserRules(RateLimitUserRule[] RateLimitUserRules)
RateLimitUserRules
- The settings of the custom rate limiting rule. If it is null, the settings that were last configured will be used.public RateLimitTemplate getRateLimitTemplate()
public void setRateLimitTemplate(RateLimitTemplate RateLimitTemplate)
RateLimitTemplate
- The settings of the rate limiting template. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public RateLimitIntelligence getRateLimitIntelligence()
public void setRateLimitIntelligence(RateLimitIntelligence RateLimitIntelligence)
RateLimitIntelligence
- The client filtering settings. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public RateLimitUserRule[] getRateLimitCustomizes()
public void setRateLimitCustomizes(RateLimitUserRule[] RateLimitCustomizes)
RateLimitCustomizes
- The custom rate limiting rules. If it is `null`, the previous settings is used.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.