public class CCRule extends AbstractModel
Constructor and Description |
---|
CCRule() |
CCRule(CCRule 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 |
getOperator()
Get Rule condition.
|
String |
getSkey()
Get Key of the policy.
|
String |
getValue()
Get Value of the policy.
|
void |
setOperator(String Operator)
Set Rule condition.
|
void |
setSkey(String Skey)
Set Key of the policy.
|
void |
setValue(String Value)
Set Value of the policy.
|
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 CCRule()
public CCRule(CCRule source)
public String getSkey()
public void setSkey(String Skey)
Skey
- Key of the policy. Valid values: `host`, `cgi`, `ua`, `referer`public String getOperator()
public void setOperator(String Operator)
Operator
- Rule condition. Valid values: `include`, `not_include`, `equal`public String getValue()
public void setValue(String Value)
Value
- Value of the policy. Length limit: 31 bytesCopyright © 2023. All rights reserved.