public static final class FixCheckWarningsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
FixCheckWarningsRequest |
build() |
FixCheckWarningsRequest.Builder |
checkParams(String checkParams)
The parameters for the baseline risk item that you want to fix.
|
FixCheckWarningsRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
FixCheckWarningsRequest.Builder |
riskId(Long riskId)
The ID of the baseline risk item.
|
FixCheckWarningsRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
FixCheckWarningsRequest.Builder |
uuids(String uuids)
The UUID of the asset for which you want to fix the baseline risk item.
|
public FixCheckWarningsRequest.Builder checkParams(String checkParams)
* **checkId**: the ID of the check item that corresponds to the baseline risk item. * **rules**: an array that consists of the rules applied to fixes. * **value**: specifies whether a fix method is selected. Valid values: **0** and **1**. The value 0 indicates that no fix method is selected and the value 1 indicates that a fix method is selected. * **ruleId**: the ID of the fix method. * **paramList**: an array that consists of the details about the fix method.\ • **paramName**: the name of the fix method.\ • **value**: the value of the fix method.
public FixCheckWarningsRequest.Builder lang(String lang)
* **zh**: Chinese * **en**: English
public FixCheckWarningsRequest.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 FixCheckWarningsRequest.Builder sourceIp(String sourceIp)
public FixCheckWarningsRequest.Builder uuids(String uuids)
public FixCheckWarningsRequest build()
Copyright © 2023. All rights reserved.