public static final class DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
public DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder defaultResult(String defaultResult)
public DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder heartbeatTimeout(Integer heartbeatTimeout)
public DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder lifecycleHookId(String lifecycleHookId)
public DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder lifecycleHookName(String lifecycleHookName)
public DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder lifecycleHookStatus(String lifecycleHookStatus)
* Active: The lifecycle hook is enabled. * InActive: The lifecycle hook is disabled.
public DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder lifecycleTransition(String lifecycleTransition)
public DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder notificationArn(String notificationArn)
* If you did not specify this parameter, the return value is in the `acs:ess:{region-id}:{account-id}:null/null` format. * If you specified a Message Service (MNS) queue as the notification recipient, the return value is in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format. * If you specified an MNS topic as the notification recipient, the return value is in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format. * If you specified a CloudOps Orchestration Service (OOS) template as the notification recipient, the return value is in the `acs:oos:{region-id}:{account-id}:template/{templatename}` format. * If you specified an event bus as the notification recipient, the return value is in the `acs:eventbridge:{region-id}:{account-id}:eventbus/default` format. The variables in the preceding formats have the following meanings: * region-id: the region ID of your scaling group. * account-id: the ID of your Alibaba Cloud. * queuename: the name of the MNS queue. * topicname: the name of the MNS topic. * templatename: the name of the OOS template.
public DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder notificationMetadata(String notificationMetadata)
public DescribeLifecycleHooksResponseBody.LifecycleHooks.Builder scalingGroupId(String scalingGroupId)
public DescribeLifecycleHooksResponseBody.LifecycleHooks build()
Copyright © 2024. All rights reserved.