public class ScanTaskCOSRules extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ScanTaskCOSRules() | 
| ScanTaskCOSRules(ScanTaskCOSRules 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 | 
|---|---|
| COSDataRule | getIgnoreStringRule()Get 忽略词规则内容组,最大支持5个忽略词。 | 
| COSDataRule | getKeywordRule()Get 关键词规则内容组,最大支持5个关键词。 | 
| Long | getMaxMatch()Get 最大匹配距离,默认值为100。上限为500. | 
| COSDataRule | getRegexRule()Get regex规则内容 | 
| Long | getStatus()Get 规则状态;0 不启用, 1 启用 | 
| void | setIgnoreStringRule(COSDataRule IgnoreStringRule)Set 忽略词规则内容组,最大支持5个忽略词。 | 
| void | setKeywordRule(COSDataRule KeywordRule)Set 关键词规则内容组,最大支持5个关键词。 | 
| void | setMaxMatch(Long MaxMatch)Set 最大匹配距离,默认值为100。上限为500. | 
| void | setRegexRule(COSDataRule RegexRule)Set regex规则内容 | 
| void | setStatus(Long Status)Set 规则状态;0 不启用, 1 启用 | 
| 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 ScanTaskCOSRules()
public ScanTaskCOSRules(ScanTaskCOSRules source)
public COSDataRule getRegexRule()
public void setRegexRule(COSDataRule RegexRule)
RegexRule - regex规则内容public Long getStatus()
public void setStatus(Long Status)
Status - 规则状态;0 不启用, 1 启用public COSDataRule getKeywordRule()
public void setKeywordRule(COSDataRule KeywordRule)
KeywordRule - 关键词规则内容组,最大支持5个关键词。public COSDataRule getIgnoreStringRule()
public void setIgnoreStringRule(COSDataRule IgnoreStringRule)
IgnoreStringRule - 忽略词规则内容组,最大支持5个忽略词。public Long getMaxMatch()
public void setMaxMatch(Long MaxMatch)
MaxMatch - 最大匹配距离,默认值为100。上限为500.Copyright © 2025. All rights reserved.