public static final class CreateNotificationConfigurationRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateNotificationConfigurationRequest |
build() |
CreateNotificationConfigurationRequest.Builder |
notificationArn(String notificationArn)
The Alibaba Cloud Resource Name (ARN) of the notification method.
|
CreateNotificationConfigurationRequest.Builder |
notificationTypes(List<String> notificationTypes)
The types of the notifications that you want to create.
|
CreateNotificationConfigurationRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateNotificationConfigurationRequest.Builder |
regionId(String regionId)
The region ID of the scaling group.
|
CreateNotificationConfigurationRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateNotificationConfigurationRequest.Builder |
scalingGroupId(String scalingGroupId)
The ID of the scaling group.
|
CreateNotificationConfigurationRequest.Builder |
timeZone(String timeZone)
TimeZone.
|
public CreateNotificationConfigurationRequest.Builder notificationArn(String notificationArn)
* If you use CloudMonitor as the notification method, the value format of this parameter is acs:ess:{region-id}:{account-id}:cloudmonitor. * If you use an MNS queue as the notification method, the value format of this parameter is acs:mns:{region-id}:{account-id}:queue/{queuename}. * If you use an MNS topic as the notification method, the value format of this parameter is acs:mns:{region-id}:{account-id}:topic/{topicname}. The variables in the preceding formats have the following meanings: * region-id: the region ID of the scaling group. * account-id: the ID of the Alibaba Cloud account. * queuename: the name of the MNS queue. * topicname: the name of the MNS topic.
public CreateNotificationConfigurationRequest.Builder notificationTypes(List<String> notificationTypes)
You can call the DescribeNotificationTypes operation to query the values of this parameter.
public CreateNotificationConfigurationRequest.Builder ownerId(Long ownerId)
public CreateNotificationConfigurationRequest.Builder regionId(String regionId)
public CreateNotificationConfigurationRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateNotificationConfigurationRequest.Builder scalingGroupId(String scalingGroupId)
public CreateNotificationConfigurationRequest.Builder timeZone(String timeZone)
public CreateNotificationConfigurationRequest build()
Copyright © 2024. All rights reserved.