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