public static final class SendDryRunSystemEventRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SendDryRunSystemEventRequest |
build() |
SendDryRunSystemEventRequest.Builder |
eventContent(String eventContent)
The content of the system event.
|
SendDryRunSystemEventRequest.Builder |
eventName(String eventName)
The name of the system event.
|
SendDryRunSystemEventRequest.Builder |
groupId(String groupId)
The ID of the application group.
|
SendDryRunSystemEventRequest.Builder |
product(String product)
The name of the cloud service.
|
public SendDryRunSystemEventRequest.Builder eventContent(String eventContent)
The content of the system event.
example:The value of this parameter is a JSON object. We recommend that you include the
product,resourceId, andregionIdfields in the JSON object.
{"product":"CloudMonitor","resourceId":"acs:ecs:cn-hongkong:173651113438****:instance/{instanceId}","level":"CRITICAL","instanceName":"instanceName","regionId":"cn-hangzhou","name":"Agent_Status_Stopped","content":{"ipGroup":"0.0.0.0,0.0.0.1","tianjimonVersion":"1.2.11"},"status":"stopped"}
public SendDryRunSystemEventRequest.Builder eventName(String eventName)
The name of the system event.
For more information, see DescribeSystemEventMetaList.
This parameter is required.
example:Agent_Status_Stopped
public SendDryRunSystemEventRequest.Builder groupId(String groupId)
The ID of the application group.
example:123456
public SendDryRunSystemEventRequest.Builder product(String product)
The name of the cloud service.
For information about the Alibaba Cloud services that are supported by CloudMonitor, see Supported cloud services and their system events.
This parameter is required.
example:ecs
public SendDryRunSystemEventRequest build()
Copyright © 2026. All rights reserved.