public static final class CreateDataLimitRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateDataLimitRequest.Builder |
auditStatus(Integer auditStatus)
Specifies whether to enable the security audit feature.
|
CreateDataLimitRequest.Builder |
autoScan(Integer autoScan)
Specifies whether to automatically trigger a re-scan after a rule is modified.
|
CreateDataLimitRequest |
build() |
CreateDataLimitRequest.Builder |
certificatePermission(String certificatePermission)
The permissions.
|
CreateDataLimitRequest.Builder |
enable(Integer enable)
Specifies whether to enable sensitive data detection.
|
CreateDataLimitRequest.Builder |
engineType(String engineType)
The database engine that is run by the instance.
|
CreateDataLimitRequest.Builder |
eventStatus(Integer eventStatus)
Specifies whether to enable anomalous event detection.
|
CreateDataLimitRequest.Builder |
featureType(Integer featureType)
This parameter is deprecated.
|
CreateDataLimitRequest.Builder |
instantlyScan(Boolean instantlyScan)
InstantlyScan.
|
CreateDataLimitRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
CreateDataLimitRequest.Builder |
logStoreDay(Integer logStoreDay)
The retention period of raw logs after you enable the security audit feature.
|
CreateDataLimitRequest.Builder |
ocrStatus(Integer ocrStatus)
Specifies whether to enable optical character recognition (OCR).
|
CreateDataLimitRequest.Builder |
parentId(String parentId)
The name of the data asset.
|
CreateDataLimitRequest.Builder |
password(String password)
The password that is used to access the database.
|
CreateDataLimitRequest.Builder |
port(Integer port)
The port that is used to connect to the database.
|
CreateDataLimitRequest.Builder |
resourceType(Integer resourceType)
The type of service to which the data asset belongs.
|
CreateDataLimitRequest.Builder |
samplingSize(Integer samplingSize)
The number of sensitive data samples that are collected after sensitive data detection is enabled.
|
CreateDataLimitRequest.Builder |
serviceRegionId(String serviceRegionId)
The region in which the data asset resides.
|
CreateDataLimitRequest.Builder |
sourceIp(String sourceIp)
This parameter is deprecated.
|
CreateDataLimitRequest.Builder |
userName(String userName)
The username that is used to access the database.
|
public CreateDataLimitRequest.Builder auditStatus(Integer auditStatus)
* **0**: no * **1**: yes
public CreateDataLimitRequest.Builder autoScan(Integer autoScan)
* **0**: no * **1**: yes > When a re-scan is triggered, DSC scans all data in your data asset.
public CreateDataLimitRequest.Builder certificatePermission(String certificatePermission)
* **ReadOnly**: read-only permissions * **ReadWrite**: read and write permissions
public CreateDataLimitRequest.Builder enable(Integer enable)
* **1**: yes * **0**: no > If this is your first time to authorize DSC to access the data asset, the default value is 1. If this is not your first time to authorize DSC to access the data asset, the default value is the same as that used in the last authorization operation. Both 1 and 0 are possible.
public CreateDataLimitRequest.Builder engineType(String engineType)
* **MySQL** * **SQLServer**
public CreateDataLimitRequest.Builder eventStatus(Integer eventStatus)
* **0**: no * **1**: yes (default)
public CreateDataLimitRequest.Builder featureType(Integer featureType)
public CreateDataLimitRequest.Builder instantlyScan(Boolean instantlyScan)
public CreateDataLimitRequest.Builder lang(String lang)
* **zh_cn**: Chinese * **en_us**: English
public CreateDataLimitRequest.Builder logStoreDay(Integer logStoreDay)
* **30** * **90** * **180** * **365**
public CreateDataLimitRequest.Builder ocrStatus(Integer ocrStatus)
* **1**: yes * **0**: no
public CreateDataLimitRequest.Builder parentId(String parentId)
public CreateDataLimitRequest.Builder password(String password)
public CreateDataLimitRequest.Builder port(Integer port)
public CreateDataLimitRequest.Builder resourceType(Integer resourceType)
* **1** :MaxCompute * **2**: Object Storage Service (OSS) * **3**: AnalyticDB for MySQL * **4** :Tablestore * **5**: ApsaraDB RDS
public CreateDataLimitRequest.Builder samplingSize(Integer samplingSize)
* **0** * **5** * **10**
public CreateDataLimitRequest.Builder serviceRegionId(String serviceRegionId)
* **cn-beijing**: China (Beijing). * **cn-zhangjiakou**: China (Zhangjiakou) * **cn-huhehaote**: China (Hohhot) * **cn-hangzhou**: China (Hangzhou) * **cn-shanghai**: China (Shanghai) * **cn-shenzhen**: China (Shenzhen) * **cn-hongkong**: China (Hong Kong)
public CreateDataLimitRequest.Builder sourceIp(String sourceIp)
public CreateDataLimitRequest.Builder userName(String userName)
public CreateDataLimitRequest build()
Copyright © 2024. All rights reserved.