public class UpgradeLifecycleHookRequest extends AbstractModel
| Constructor and Description | 
|---|
UpgradeLifecycleHookRequest()  | 
UpgradeLifecycleHookRequest(UpgradeLifecycleHookRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| 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. 
 | 
LifecycleCommand | 
getLifecycleCommand()
Get Remote command execution object. 
 | 
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 of a notification that Auto Scaling sends to targets. 
 | 
NotificationTarget | 
getNotificationTarget()
Get Notification result. 
 | 
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 | 
setLifecycleCommand(LifecycleCommand LifecycleCommand)
Set Remote command execution object. 
 | 
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 of a notification that Auto Scaling sends to targets. 
 | 
void | 
setNotificationTarget(NotificationTarget NotificationTarget)
Set Notification result. 
 | 
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 UpgradeLifecycleHookRequest()
public UpgradeLifecycleHookRequest(UpgradeLifecycleHookRequest source)
public 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-7200. Default value: 300public String getNotificationMetadata()
public void setNotificationMetadata(String NotificationMetadata)
NotificationMetadata - Additional information of a notification that Auto Scaling sends to targets. This parameter is set when you configure a notification (default value: "").public NotificationTarget getNotificationTarget()
public void setNotificationTarget(NotificationTarget NotificationTarget)
NotificationTarget - Notification result. `NotificationTarget` and `LifecycleCommand` cannot be specified at the same time.public 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.public LifecycleCommand getLifecycleCommand()
public void setLifecycleCommand(LifecycleCommand LifecycleCommand)
LifecycleCommand - Remote command execution object. `NotificationTarget` and `LifecycleCommand` cannot be specified at the same time.Copyright © 2022. All rights reserved.