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 |
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 |
riskId(Long riskId)
The ID of the baseline 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)
public DescribeCheckWarningsRequest.Builder checkType(String checkType)
* **hc.check.type.identity_auth**: identity authentication * **hc.check.type.access_control**: access control * **hc.check.type.network_service**: network and service * **hc.check.type.service_conf**: service configuration * **hc.check.type.file_rights**: file permission * **hc.check.type.security_audit**: security audit * **hc.check.type.attack_defense**: intrusion prevention * **hc.check.type.others**: others
public DescribeCheckWarningsRequest.Builder currentPage(Integer currentPage)
public DescribeCheckWarningsRequest.Builder lang(String lang)
* **zh**: Chinese * **en**: English
public DescribeCheckWarningsRequest.Builder pageSize(Integer pageSize)
public DescribeCheckWarningsRequest.Builder riskId(Long riskId)
> To query specified baseline risk items and the check items of a specified server, you must provide the IDs of the baseline risk items. You can call the [DescribeCheckWarningSummary](~~DescribeCheckWarningSummary~~) operation to query the IDs.
public DescribeCheckWarningsRequest.Builder riskStatus(Integer riskStatus)
* **1**: failed * **2**: verifying * **3**: passed * **5**: expired * **6**: ignored
public DescribeCheckWarningsRequest.Builder sourceIp(String sourceIp)
public DescribeCheckWarningsRequest.Builder uuid(String uuid)
> 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](~~DescribeWarningMachines~~) operation to query the IDs of servers.
public DescribeCheckWarningsRequest build()
Copyright © 2023. All rights reserved.