public class CCPolicy extends AbstractModel
header, skipSign
Constructor and Description |
---|
CCPolicy() |
CCPolicy(CCPolicy 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 |
getCreateTime()
Get Creation time
|
String |
getDomain()
Get HTTPS CC protection domain name
|
String |
getExeMode()
Get Executed policy mode.
|
Long |
getFrequency()
Get Number of requests allowed per minute
|
String[] |
getIpList()
Get IP list.
|
String |
getName()
Get Policy name
|
String |
getProtocol()
Get CC protection type.
|
String |
getRuleId()
Get ID of the forwarding rule corresponding to the HTTPS CC protection domain name
|
CCRule[] |
getRuleList()
Get Rule list
|
String |
getSetId()
Get Policy ID
|
String |
getSmode()
Get Matching mode.
|
Long |
getSwitch()
Get Specifies whether the policy is activated
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setDomain(String Domain)
Set HTTPS CC protection domain name
|
void |
setExeMode(String ExeMode)
Set Executed policy mode.
|
void |
setFrequency(Long Frequency)
Set Number of requests allowed per minute
|
void |
setIpList(String[] IpList)
Set IP list.
|
void |
setName(String Name)
Set Policy name
|
void |
setProtocol(String Protocol)
Set CC protection type.
|
void |
setRuleId(String RuleId)
Set ID of the forwarding rule corresponding to the HTTPS CC protection domain name
|
void |
setRuleList(CCRule[] RuleList)
Set Rule list
|
void |
setSetId(String SetId)
Set Policy ID
|
void |
setSmode(String Smode)
Set Matching mode.
|
void |
setSwitch(Long Switch)
Set Specifies whether the policy is activated
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CCPolicy()
public CCPolicy(CCPolicy source)
public String getName()
public void setName(String Name)
Name
- Policy namepublic String getSmode()
public void setSmode(String Smode)
Smode
- Matching mode. Valid values: [matching (matching mode), speedlimit (speed limiting mode)]public String getSetId()
public void setSetId(String SetId)
SetId
- Policy IDpublic Long getFrequency()
public void setFrequency(Long Frequency)
Frequency
- Number of requests allowed per minutepublic String getExeMode()
public void setExeMode(String ExeMode)
ExeMode
- Executed policy mode. Valid values: [alg (verification code), drop (blocking)]public Long getSwitch()
public void setSwitch(Long Switch)
Switch
- Specifies whether the policy is activatedpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic CCRule[] getRuleList()
public void setRuleList(CCRule[] RuleList)
RuleList
- Rule listpublic String[] getIpList()
public void setIpList(String[] IpList)
IpList
- IP list. If this field is to be left empty, please pass in an empty instead of null;public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- CC protection type. Valid values: [http, https]public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- ID of the forwarding rule corresponding to the HTTPS CC protection domain namepublic String getDomain()
public void setDomain(String Domain)
Domain
- HTTPS CC protection domain nameCopyright © 2024. All rights reserved.