public class ProtectThresholdRelation extends AbstractModel
| Constructor and Description | 
|---|
| ProtectThresholdRelation() | 
| ProtectThresholdRelation(ProtectThresholdRelation 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 | 
|---|---|
| Long | getCCEnable()Get CC cleansing switch
`0`: disabled
`1`: enabled
] | 
| Long | getCCThreshold()Get CC cleansing threshold (in QPS) | 
| String | getDDoSAI()Get DDoS AI protection switch:
`on`: enabled
`off`: disabled
] | 
| String | getDDoSLevel()Get DDoS protection level:
`low`: loose protection
`middle`: medium protection
`high`: strict protection
] | 
| Long | getDDoSThreshold()Get DDoS cleansing threshold (in Mbps) | 
| InstanceRelation[] | getInstanceDetailList()Get Anti-DDoS instance configured | 
| ListenerCcThreholdConfig[] | getListenerCcThresholdList()Get Domain name and protocol protection thresholds | 
| void | setCCEnable(Long CCEnable)Set CC cleansing switch
`0`: disabled
`1`: enabled
] | 
| void | setCCThreshold(Long CCThreshold)Set CC cleansing threshold (in QPS) | 
| void | setDDoSAI(String DDoSAI)Set DDoS AI protection switch:
`on`: enabled
`off`: disabled
] | 
| void | setDDoSLevel(String DDoSLevel)Set DDoS protection level:
`low`: loose protection
`middle`: medium protection
`high`: strict protection
] | 
| void | setDDoSThreshold(Long DDoSThreshold)Set DDoS cleansing threshold (in Mbps) | 
| void | setInstanceDetailList(InstanceRelation[] InstanceDetailList)Set Anti-DDoS instance configured | 
| void | setListenerCcThresholdList(ListenerCcThreholdConfig[] ListenerCcThresholdList)Set Domain name and protocol protection thresholds | 
| 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, toJsonStringpublic ProtectThresholdRelation()
public ProtectThresholdRelation(ProtectThresholdRelation source)
public String getDDoSLevel()
public void setDDoSLevel(String DDoSLevel)
DDoSLevel - DDoS protection level:
`low`: loose protection
`middle`: medium protection
`high`: strict protection
]public Long getDDoSThreshold()
public void setDDoSThreshold(Long DDoSThreshold)
DDoSThreshold - DDoS cleansing threshold (in Mbps)public String getDDoSAI()
public void setDDoSAI(String DDoSAI)
DDoSAI - DDoS AI protection switch:
`on`: enabled
`off`: disabled
]public Long getCCEnable()
public void setCCEnable(Long CCEnable)
CCEnable - CC cleansing switch
`0`: disabled
`1`: enabled
]public Long getCCThreshold()
public void setCCThreshold(Long CCThreshold)
CCThreshold - CC cleansing threshold (in QPS)public InstanceRelation[] getInstanceDetailList()
public void setInstanceDetailList(InstanceRelation[] InstanceDetailList)
InstanceDetailList - Anti-DDoS instance configuredpublic ListenerCcThreholdConfig[] getListenerCcThresholdList()
public void setListenerCcThresholdList(ListenerCcThreholdConfig[] ListenerCcThresholdList)
ListenerCcThresholdList - Domain name and protocol protection thresholdsCopyright © 2021. All rights reserved.