public static final class ModifyRuleRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyRuleRequest |
build() |
ModifyRuleRequest.Builder |
category(Integer category)
The content type of the sensitive data detection rule.
|
ModifyRuleRequest.Builder |
content(String content)
The content of the sensitive data detection rule.
|
ModifyRuleRequest.Builder |
id(Long id)
The ID of the sensitive data detection rule.
|
ModifyRuleRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
ModifyRuleRequest.Builder |
matchType(Integer matchType)
The match type.
|
ModifyRuleRequest.Builder |
name(String name)
The name of the sensitive data detection rule.
|
ModifyRuleRequest.Builder |
productCode(String productCode)
The service to which the sensitive data detection rule is applied.
|
ModifyRuleRequest.Builder |
productId(Long productId)
The ID of the service to which the sensitive data detection rule is applied.
|
ModifyRuleRequest.Builder |
riskLevelId(Long riskLevelId)
The sensitivity level of the sensitive data that hits the sensitive data detection rule.
|
ModifyRuleRequest.Builder |
ruleType(Integer ruleType)
The type of the sensitive data detection rule.
|
ModifyRuleRequest.Builder |
supportForm(Integer supportForm)
The data assets supported by the sensitive data detection rule.
|
ModifyRuleRequest.Builder |
warnLevel(Integer warnLevel)
The risk level of the alert that is triggered by the sensitive data detection rule.
|
public ModifyRuleRequest.Builder category(Integer category)
* **2**: regular expression * **3**: algorithm * **5**: keyword
public ModifyRuleRequest.Builder content(String content)
public ModifyRuleRequest.Builder id(Long id)
You can call the [DescribeRules](~~DescribeRules~~) operation to obtain the rule ID.
public ModifyRuleRequest.Builder lang(String lang)
* **zh_cn**: Simplified Chinese * **en_us**: English
public ModifyRuleRequest.Builder matchType(Integer matchType)
* **1**: rule-based match * **2**: dictionary-based match
public ModifyRuleRequest.Builder name(String name)
You can call the [DescribeRules](~~DescribeRules~~) operation to obtain the rule name.
public ModifyRuleRequest.Builder productCode(String productCode)
public ModifyRuleRequest.Builder productId(Long productId)
public ModifyRuleRequest.Builder riskLevelId(Long riskLevelId)
* **1**: N/A, which indicates that no sensitive data is detected. * **2**: S1, which indicates the low sensitivity level. * **3**: S2, which indicates the medium sensitivity level. * **4**: S3, which indicates the high sensitivity level. * **5**: S4, which indicates the highest sensitivity level.
public ModifyRuleRequest.Builder ruleType(Integer ruleType)
* **1**: data detection rule * **2**: audit rule * **3**: anomalous event detection rule
public ModifyRuleRequest.Builder supportForm(Integer supportForm)
* **0**: all data assets * **1**: structured data assets * **2**: unstructured data assets
public ModifyRuleRequest.Builder warnLevel(Integer warnLevel)
* **1**: low level * **2**: medium level * **3**: high level
public ModifyRuleRequest build()
Copyright © 2024. All rights reserved.