public static final class DescribeCheckWarningsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeCheckWarningsRequest |
build() |
DescribeCheckWarningsRequest.Builder |
checkId(Long checkId)
The ID of the check item.
|
DescribeCheckWarningsRequest.Builder |
checkType(String checkType)
The type of the check item.
|
DescribeCheckWarningsRequest.Builder |
containerName(String containerName)
The name of the container.
|
DescribeCheckWarningsRequest.Builder |
currentPage(Integer currentPage)
The number of the page to return.
|
DescribeCheckWarningsRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
DescribeCheckWarningsRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
DescribeCheckWarningsRequest.Builder |
resourceDirectoryAccountId(Long resourceDirectoryAccountId)
The Alibaba Cloud account ID of the member in the resource directory.
|
DescribeCheckWarningsRequest.Builder |
riskId(Long riskId)
The ID of the risk item.
|
DescribeCheckWarningsRequest.Builder |
riskStatus(Integer riskStatus)
The status of the check item.
|
DescribeCheckWarningsRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
DescribeCheckWarningsRequest.Builder |
uuid(String uuid)
The UUID of the server on which the baseline check is performed.
|
public DescribeCheckWarningsRequest.Builder checkId(Long checkId)
The ID of the check item.
example:2546
public DescribeCheckWarningsRequest.Builder checkType(String checkType)
The type of the check item. Valid values:
hc.check.type.attack_defense
public DescribeCheckWarningsRequest.Builder containerName(String containerName)
The name of the container.
example:/redis
public DescribeCheckWarningsRequest.Builder currentPage(Integer currentPage)
The number of the page to return. Default value: 1.
example:1
public DescribeCheckWarningsRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public DescribeCheckWarningsRequest.Builder pageSize(Integer pageSize)
The number of entries to return on each page. Default value: 20.
example:20
public DescribeCheckWarningsRequest.Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId)
The Alibaba Cloud account ID of the member in the resource directory.
example:To obtain the Alibaba Cloud account ID, call the DescribeMonitorAccounts operation.
127608589417****
public DescribeCheckWarningsRequest.Builder riskId(Long riskId)
The ID of the risk item. This parameter is required.
example:To query the information about the risk items and check items of a server, you must specify the IDs of the risk items. You can call the DescribeCheckWarningSummary operation to query the IDs of risk items.
10354
public DescribeCheckWarningsRequest.Builder riskStatus(Integer riskStatus)
The status of the check item. Valid values:
1
public DescribeCheckWarningsRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:1.2.XX.XX
public DescribeCheckWarningsRequest.Builder uuid(String uuid)
The UUID of the server on which the baseline check is performed.
To query specified risk items and the check items of a specified server, you must provide the ID of the server on which the baseline check is performed. You can call the DescribeWarningMachines operation to query the IDs of servers.
This parameter is required.
example:d42f938c-d962-48a0-90f9-05****
public DescribeCheckWarningsRequest build()
Copyright © 2026. All rights reserved.