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.
|
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 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 of a notification that Auto Scaling sends to targets.
|
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, toJsonString
public 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 left empty by default.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.