public static final class CreateConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateConfigRequest |
build() |
CreateConfigRequest.Builder |
code(String code)
The code of the common configuration item.
|
CreateConfigRequest.Builder |
description(String description)
The description of the common configuration item.
|
CreateConfigRequest.Builder |
featureType(Integer featureType)
This parameter is deprecated.
|
CreateConfigRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
CreateConfigRequest.Builder |
sourceIp(String sourceIp)
This parameter is deprecated.
|
CreateConfigRequest.Builder |
value(String value)
The value of the common configuration item.
|
public CreateConfigRequest.Builder code(String code)
* **access_failed_cnt**: the maximum number of access attempts allowed when Data Security Center (DSC) fails to access an unauthorized resource. * **access_permission_exprie_max_days**: the maximum idle period allowed for access permissions before an alert is triggered. * **log_datasize_avg_days**: the minimum percentage of the volume of logs of a specific type generated on the current day to the average volume of logs generated in the previous 10 days before an alert is triggered.
public CreateConfigRequest.Builder description(String description)
public CreateConfigRequest.Builder featureType(Integer featureType)
public CreateConfigRequest.Builder lang(String lang)
* **zh_cn**: Chinese * **en_us**: English
public CreateConfigRequest.Builder sourceIp(String sourceIp)
public CreateConfigRequest.Builder value(String value)
* If you set the Code parameter to **access_failed_cnt**, the Value parameter specifies the maximum number of access attempts allowed when DSC fails to access an unauthorized resource. * If you set the Code parameter to **access_permission_exprie_max_days**, the Value parameter specifies the maximum idle period allowed for access permissions before an alert is triggered. * If you set the Code parameter to **log_datasize_avg_days**, the Value parameter specifies the minimum percentage of the volume of logs of a specific type generated on the current day to the average amount of logs generated in the previous 10 days before an alert is triggered.
public CreateConfigRequest build()
Copyright © 2024. All rights reserved.