public class UpsertCCRuleRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
UpsertCCRuleRequest()  | 
UpsertCCRuleRequest(UpsertCCRuleRequest 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 | 
|---|---|
String | 
getActionType()
Get Action. 
 | 
String | 
getAdvance()
Get Advanced mode (whether to use session detection). 
 | 
Long | 
getCreateTime()
Get Rule creation time 
 | 
String | 
getDomain()
Get Domain name 
 | 
String | 
getEdition()
Get WAF version. 
 | 
String | 
getEventId()
Get Source event ID for adding rules 
 | 
String | 
getInterval()
Get CC detection cycle 
 | 
Long | 
getLength()
Get URL length 
 | 
String | 
getLimit()
Get CC detection threshold 
 | 
Long | 
getMatchFunc()
Get Matching method. 
 | 
String | 
getName()
Get Name 
 | 
String | 
getOptionsArr()
Get Additional Parameters 
 | 
Long | 
getPriority()
Get Priority 
 | 
Long | 
getRuleId()
Get Rule ID: fill in 0 when adding 
 | 
Long[] | 
getSessionApplied()
Get Session ID that needs to be enabled for the rule 
 | 
Long | 
getStatus()
Get Status 
 | 
Long | 
getType()
Get Operation type 
 | 
String | 
getUrl()
Get Detection URL 
 | 
Long | 
getValidTime()
Get Valid time for action 
 | 
void | 
setActionType(String ActionType)
Set Action. 
 | 
void | 
setAdvance(String Advance)
Set Advanced mode (whether to use session detection). 
 | 
void | 
setCreateTime(Long CreateTime)
Set Rule creation time 
 | 
void | 
setDomain(String Domain)
Set Domain name 
 | 
void | 
setEdition(String Edition)
Set WAF version. 
 | 
void | 
setEventId(String EventId)
Set Source event ID for adding rules 
 | 
void | 
setInterval(String Interval)
Set CC detection cycle 
 | 
void | 
setLength(Long Length)
Set URL length 
 | 
void | 
setLimit(String Limit)
Set CC detection threshold 
 | 
void | 
setMatchFunc(Long MatchFunc)
Set Matching method. 
 | 
void | 
setName(String Name)
Set Name 
 | 
void | 
setOptionsArr(String OptionsArr)
Set Additional Parameters 
 | 
void | 
setPriority(Long Priority)
Set Priority 
 | 
void | 
setRuleId(Long RuleId)
Set Rule ID: fill in 0 when adding 
 | 
void | 
setSessionApplied(Long[] SessionApplied)
Set Session ID that needs to be enabled for the rule 
 | 
void | 
setStatus(Long Status)
Set Status 
 | 
void | 
setType(Long Type)
Set Operation type 
 | 
void | 
setUrl(String Url)
Set Detection URL 
 | 
void | 
setValidTime(Long ValidTime)
Set Valid time for action 
 | 
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 UpsertCCRuleRequest()
public UpsertCCRuleRequest(UpsertCCRuleRequest source)
public String getDomain()
public void setDomain(String Domain)
Domain - Domain namepublic String getName()
public void setName(String Name)
Name - Namepublic Long getStatus()
public void setStatus(Long Status)
Status - Statuspublic String getAdvance()
public void setAdvance(String Advance)
Advance - Advanced mode (whether to use session detection). 0: disabled; 1: enabledpublic String getLimit()
public void setLimit(String Limit)
Limit - CC detection thresholdpublic String getInterval()
public void setInterval(String Interval)
Interval - CC detection cyclepublic String getUrl()
public void setUrl(String Url)
Url - Detection URLpublic Long getMatchFunc()
public void setMatchFunc(Long MatchFunc)
MatchFunc - Matching method. 0: equal to; 1: prefix matching; 2: includedpublic String getActionType()
public void setActionType(String ActionType)
ActionType - Action. 20: observation; 21: CAPTCHA; 22: interception; 23: precise interceptionpublic Long getPriority()
public void setPriority(Long Priority)
Priority - Prioritypublic Long getValidTime()
public void setValidTime(Long ValidTime)
ValidTime - Valid time for actionpublic String getOptionsArr()
public void setOptionsArr(String OptionsArr)
OptionsArr - Additional Parameterspublic String getEdition()
public void setEdition(String Edition)
Edition - WAF version. The value can be sparta-waf or clb-waf.public Long getType()
public void setType(Long Type)
Type - Operation typepublic String getEventId()
public void setEventId(String EventId)
EventId - Source event ID for adding rulespublic Long[] getSessionApplied()
public void setSessionApplied(Long[] SessionApplied)
SessionApplied - Session ID that needs to be enabled for the rulepublic Long getRuleId()
public void setRuleId(Long RuleId)
RuleId - Rule ID: fill in 0 when addingpublic Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime - Rule creation timepublic Long getLength()
public void setLength(Long Length)
Length - URL lengthCopyright © 2025. All rights reserved.