public static final class DescribePackagesRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribePackagesRequest |
build() |
DescribePackagesRequest.Builder |
currentPage(Integer currentPage)
The page number of the page to return.
|
DescribePackagesRequest.Builder |
instanceId(Long instanceId)
The ID of the instance to which the package belongs.
|
DescribePackagesRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
DescribePackagesRequest.Builder |
name(String name)
The search keyword.
|
DescribePackagesRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
DescribePackagesRequest.Builder |
productId(Long productId)
The ID of the service to which the package belongs.
|
DescribePackagesRequest.Builder |
riskLevelId(Long riskLevelId)
The sensitivity level of the package.
|
DescribePackagesRequest.Builder |
ruleId(Long ruleId)
The ID of the sensitive data detection rule that the package hits.
|
public DescribePackagesRequest.Builder currentPage(Integer currentPage)
public DescribePackagesRequest.Builder instanceId(Long instanceId)
> You can call the **DescribeInstances** operation to query the ID of the instance.
public DescribePackagesRequest.Builder lang(String lang)
* **zh_cn**: Chinese * **en_us**: English
public DescribePackagesRequest.Builder name(String name)
public DescribePackagesRequest.Builder pageSize(Integer pageSize)
public DescribePackagesRequest.Builder productId(Long productId)
> You can call the **DescribeDataAssets** operation to query the ID of the service.
public DescribePackagesRequest.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 DescribePackagesRequest.Builder ruleId(Long ruleId)
> You can call the **DescribeRules** operation to query the ID of the sensitive data detection rule.
public DescribePackagesRequest build()
Copyright © 2024. All rights reserved.