public static final class PutEventRuleRequest.EventPattern.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
PutEventRuleRequest.EventPattern |
build() |
PutEventRuleRequest.EventPattern.Builder |
customFilters(String customFilters)
The keyword that is used to filter events.
|
PutEventRuleRequest.EventPattern.Builder |
eventTypeList(List<String> eventTypeList)
EventTypeList.
|
PutEventRuleRequest.EventPattern.Builder |
levelList(List<String> levelList)
LevelList.
|
PutEventRuleRequest.EventPattern.Builder |
nameList(List<String> nameList)
NameList.
|
PutEventRuleRequest.EventPattern.Builder |
product(String product)
The type of the cloud service.
|
PutEventRuleRequest.EventPattern.Builder |
SQLFilter(String SQLFilter)
The SQL condition that is used to filter events.
|
PutEventRuleRequest.EventPattern.Builder |
statusList(List<String> statusList)
StatusList.
|
public PutEventRuleRequest.EventPattern.Builder customFilters(String customFilters)
The keyword that is used to filter events. If the content of an event contains the specified keyword, an alert is automatically triggered.
example:Stopping
public PutEventRuleRequest.EventPattern.Builder eventTypeList(List<String> eventTypeList)
public PutEventRuleRequest.EventPattern.Builder levelList(List<String> levelList)
public PutEventRuleRequest.EventPattern.Builder nameList(List<String> nameList)
public PutEventRuleRequest.EventPattern.Builder product(String product)
The type of the cloud service. Valid values of N: 1 to 50.
You can call the DescribeSystemEventMetaList operation to query the cloud services that support event-triggered alerts. For more information, see DescribeSystemEventMetaList.
This parameter is required.
example:ecs
public PutEventRuleRequest.EventPattern.Builder SQLFilter(String SQLFilter)
The SQL condition that is used to filter events. If the content of an event meets the specified SQL condition, an alert is automatically triggered.
example:The syntax of SQL event filtering is consistent with the query syntax of Log Service.
192.168.XX.XX and Executed
public PutEventRuleRequest.EventPattern.Builder statusList(List<String> statusList)
public PutEventRuleRequest.EventPattern build()
Copyright © 2026. All rights reserved.