public static final class ModifyHostAvailabilityRequest.AlertConfigTargetList.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyHostAvailabilityRequest.AlertConfigTargetList.Builder |
arn(String arn)
The Alibaba Cloud Resource Name (ARN) of the resource.
|
ModifyHostAvailabilityRequest.AlertConfigTargetList |
build() |
ModifyHostAvailabilityRequest.AlertConfigTargetList.Builder |
id(String id)
The ID of the resource for which alerts are triggered.
|
ModifyHostAvailabilityRequest.AlertConfigTargetList.Builder |
jsonParams(String jsonParams)
The parameters of the alert callback.
|
ModifyHostAvailabilityRequest.AlertConfigTargetList.Builder |
level(String level)
The alert level.
|
public ModifyHostAvailabilityRequest.AlertConfigTargetList.Builder arn(String arn)
The Alibaba Cloud Resource Name (ARN) of the resource.
Format: acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message. Example: acs:mns:cn-hangzhou:120886317861****:/queues/test123/message. Fields:
{Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
{userId}: the ID of the Alibaba Cloud account.
{regionId}: the region ID of the SMQ queue or topic.
{Resource type}: the type of the resource for which alerts are triggered. Valid values:
{Resource name}: the resource name.
acs:mns:cn-hangzhou:111:/queues/test/message
public ModifyHostAvailabilityRequest.AlertConfigTargetList.Builder id(String id)
The ID of the resource for which alerts are triggered.
example:1
public ModifyHostAvailabilityRequest.AlertConfigTargetList.Builder jsonParams(String jsonParams)
The parameters of the alert callback. The parameters are in the JSON format.
example:{"customField1":"value1","customField2":"$.name"}
public ModifyHostAvailabilityRequest.AlertConfigTargetList.Builder level(String level)
The alert level. Valid values:
["INFO", "WARN", "CRITICAL"]
public ModifyHostAvailabilityRequest.AlertConfigTargetList build()
Copyright © 2026. All rights reserved.