public class ScdnConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ScdnConfig() | 
| ScdnConfig(ScdnConfig 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 | 
|---|---|
| AdvancedCCRules[] | getAdvancedRules()Get Advanced custom CC attack defense rule
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| AdvancedCCRules[] | getGlobalAdvancedRules()Get Global advanced CC protection rules
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| ScdnCCRules[] | getRules()Get Custom CC attack defense rule
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getSwitch()Get Whether to enable SCDN CC configuration. | 
| void | setAdvancedRules(AdvancedCCRules[] AdvancedRules)Set Advanced custom CC attack defense rule
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setGlobalAdvancedRules(AdvancedCCRules[] GlobalAdvancedRules)Set Global advanced CC protection rules
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| void | setRules(ScdnCCRules[] Rules)Set Custom CC attack defense rule
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setSwitch(String Switch)Set Whether to enable SCDN CC configuration. | 
| 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 ScdnConfig()
public ScdnConfig(ScdnConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable SCDN CC configuration. Values:
`on`: Enable
`off`: Disablepublic ScdnCCRules[] getRules()
public void setRules(ScdnCCRules[] Rules)
Rules - Custom CC attack defense rule
Note: this field may return `null`, indicating that no valid values can be obtained.public AdvancedCCRules[] getAdvancedRules()
public void setAdvancedRules(AdvancedCCRules[] AdvancedRules)
AdvancedRules - Advanced custom CC attack defense rule
Note: This field may return `null`, indicating that no valid value can be obtained.public AdvancedCCRules[] getGlobalAdvancedRules()
public void setGlobalAdvancedRules(AdvancedCCRules[] GlobalAdvancedRules)
GlobalAdvancedRules - Global advanced CC protection rules
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.