public static final class IgnoreHcCheckWarningsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
IgnoreHcCheckWarningsRequest |
build() |
IgnoreHcCheckWarningsRequest.Builder |
checkIds(String checkIds)
The ID of the check item.
|
IgnoreHcCheckWarningsRequest.Builder |
checkWarningIds(String checkWarningIds)
The ID of the alert that is triggered by the check item.
|
IgnoreHcCheckWarningsRequest.Builder |
reason(String reason)
The reason for the current operation.
|
IgnoreHcCheckWarningsRequest.Builder |
riskId(String riskId)
The ID of the risk item that you want to ignore or cancel ignoring.
|
IgnoreHcCheckWarningsRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
IgnoreHcCheckWarningsRequest.Builder |
type(Long type)
The type of the operation that you want to perform.
|
public IgnoreHcCheckWarningsRequest.Builder checkIds(String checkIds)
> You can call the [DescribeCheckWarnings](~~DescribeCheckWarnings~~) operation to query the IDs of check items.
public IgnoreHcCheckWarningsRequest.Builder checkWarningIds(String checkWarningIds)
> You can call the [DescribeCheckWarnings](~~DescribeCheckWarnings~~) operation to query the IDs of alerts that are triggered by check items.
public IgnoreHcCheckWarningsRequest.Builder reason(String reason)
public IgnoreHcCheckWarningsRequest.Builder riskId(String riskId)
> You can call the [DescribeCheckWarningSummary](~~DescribeCheckWarningSummary~~) operation to query the IDs of risk items.
public IgnoreHcCheckWarningsRequest.Builder sourceIp(String sourceIp)
public IgnoreHcCheckWarningsRequest.Builder type(Long type)
* **1**: ignores a risk item * **2**: cancels ignoring a risk item
public IgnoreHcCheckWarningsRequest build()
Copyright © 2023. All rights reserved.