public class UpgradeLifecycleHookRequest extends AbstractModel
| Constructor and Description | 
|---|
| UpgradeLifecycleHookRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDefaultResult()Get Defines the action to be taken by the auto scaling group upon lifecycle hook timeout. | 
| Long | getHeartbeatTimeout()Get The maximum length of time (in seconds) that can elapse before the lifecycle hook times out. | 
| String | getLifecycleHookId()Get Lifecycle hook ID | 
| String | getLifecycleHookName()Get Lifecycle hook name | 
| String | getLifecycleTransition()Get Scenario for the lifecycle hook. | 
| String | getLifecycleTransitionType()Get The scenario where the lifecycle hook is applied. | 
| String | getNotificationMetadata()Get Additional information sent by AS to the notification target. | 
| NotificationTarget | getNotificationTarget()Get Notification target | 
| void | setDefaultResult(String DefaultResult)Set Defines the action to be taken by the auto scaling group upon lifecycle hook timeout. | 
| void | setHeartbeatTimeout(Long HeartbeatTimeout)Set The maximum length of time (in seconds) that can elapse before the lifecycle hook times out. | 
| void | setLifecycleHookId(String LifecycleHookId)Set Lifecycle hook ID | 
| void | setLifecycleHookName(String LifecycleHookName)Set Lifecycle hook name | 
| void | setLifecycleTransition(String LifecycleTransition)Set Scenario for the lifecycle hook. | 
| void | setLifecycleTransitionType(String LifecycleTransitionType)Set The scenario where the lifecycle hook is applied. | 
| void | setNotificationMetadata(String NotificationMetadata)Set Additional information sent by AS to the notification target. | 
| void | setNotificationTarget(NotificationTarget NotificationTarget)Set Notification target | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String getLifecycleHookId()
public void setLifecycleHookId(String LifecycleHookId)
LifecycleHookId - Lifecycle hook IDpublic String getLifecycleHookName()
public void setLifecycleHookName(String LifecycleHookName)
LifecycleHookName - Lifecycle hook namepublic String getLifecycleTransition()
public void setLifecycleTransition(String LifecycleTransition)
LifecycleTransition - Scenario for the lifecycle hook. Value range: "INSTANCE_LAUNCHING", "INSTANCE_TERMINATING"public String getDefaultResult()
public void setDefaultResult(String DefaultResult)
DefaultResult - Defines the action to be taken by the auto scaling group upon lifecycle hook timeout. Value range: "CONTINUE", "ABANDON". Default value: "CONTINUE"public Long getHeartbeatTimeout()
public void setHeartbeatTimeout(Long HeartbeatTimeout)
HeartbeatTimeout - The maximum length of time (in seconds) that can elapse before the lifecycle hook times out. Value range: 30-3,600. Default value: 300public String getNotificationMetadata()
public void setNotificationMetadata(String NotificationMetadata)
NotificationMetadata - Additional information sent by AS to the notification target. The default value is ''public NotificationTarget getNotificationTarget()
public void setNotificationTarget(NotificationTarget NotificationTarget)
NotificationTarget - Notification targetpublic String getLifecycleTransitionType()
public void setLifecycleTransitionType(String LifecycleTransitionType)
LifecycleTransitionType - The scenario where the lifecycle hook is applied. `EXTENSION`: the lifecycle hook will be triggered when AttachInstances, DetachInstances or RemoveInstaces is called. `NORMAL`: the lifecycle hook is not triggered by the above APIs.Copyright © 2021. All rights reserved.