public class ScdnConfig extends AbstractModel
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 |
---|---|
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 Valid values: `on` and `off`.
|
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 Valid values: `on` and `off`.
|
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 ScdnConfig()
public ScdnConfig(ScdnConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Valid values: `on` and `off`.public 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.Copyright © 2021. All rights reserved.