public class CCRule extends AbstractModel
header, skipSign| 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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic 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 © 2025. All rights reserved.