public static final class ExecDatamaskRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ExecDatamaskRequest |
build() |
ExecDatamaskRequest.Builder |
data(String data)
The sensitive data to be de-identified.
|
ExecDatamaskRequest.Builder |
featureType(Integer featureType)
This parameter is deprecated.
|
ExecDatamaskRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
ExecDatamaskRequest.Builder |
templateId(Long templateId)
The ID of the de-identification template.
|
public ExecDatamaskRequest.Builder data(String data)
* **dataHeaderList**: the names of the columns in which data needs to be de-identified. Specify the column names in accordance with the order of data that needs to be de-identified. * **dataList**: the data that needs to be de-identified. * **ruleList**: the IDs of sensitive data detection rules used to detect data that needs to be de-identified. Specify the rule IDs in accordance with the order of data that needs to be de-identified. Each ID identifies a sensitive data detection rule that is used to detect a type of sensitive data. You can call the [DescribeRules](~~DescribeRules~~) operation to query the IDs of sensitive data detection rules.
public ExecDatamaskRequest.Builder featureType(Integer featureType)
public ExecDatamaskRequest.Builder lang(String lang)
* **zh_cn**: Simplified Chinese * **en_us**: English
public ExecDatamaskRequest.Builder templateId(Long templateId)
* If you select **Field name** as the matching mode of the template, DSC matches data based on the columns specified by the **dataHeaderList** parameter in the **Data** parameter. * If you select **Sensitive type** as the matching mode of the template, DSC matches data based on the sensitive data detection rules specified by the **ruleList** parameter in the **Data** parameter.
public ExecDatamaskRequest build()
Copyright © 2024. All rights reserved.