public class ModifyLifecycleHookRequest extends AbstractModel
Constructor and Description |
---|
ModifyLifecycleHookRequest() |
ModifyLifecycleHookRequest(ModifyLifecycleHookRequest 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 Actions after the lifecycle hook times out.
|
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 The time when the lifecycle hook is applied.
|
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 Information of the notification target.
|
void |
setDefaultResult(String DefaultResult)
Set Actions after the lifecycle hook times out.
|
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 The time when the lifecycle hook is applied.
|
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 Information of the 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 ModifyLifecycleHookRequest()
public ModifyLifecycleHookRequest(ModifyLifecycleHookRequest source)
public String getLifecycleHookId()
public void setLifecycleHookId(String LifecycleHookId)
LifecycleHookId
- Lifecycle hook ID.public String getLifecycleHookName()
public void setLifecycleHookName(String LifecycleHookName)
LifecycleHookName
- Lifecycle hook name.public String getLifecycleTransition()
public void setLifecycleTransition(String LifecycleTransition)
LifecycleTransition
- The time when the lifecycle hook is applied. Valid values:
public String getDefaultResult()
public void setDefaultResult(String DefaultResult)
DefaultResult
- Actions after the lifecycle hook times out. Valid values:
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 - 7,200 seconds.public String getNotificationMetadata()
public void setNotificationMetadata(String NotificationMetadata)
NotificationMetadata
- Additional information sent by AS to the notification target.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 `RemoveInstances` is called. `NORMAL`: The lifecycle hook is not triggered by the above APIs.public NotificationTarget getNotificationTarget()
public void setNotificationTarget(NotificationTarget NotificationTarget)
NotificationTarget
- Information of the notification target.public LifecycleCommand getLifecycleCommand()
public void setLifecycleCommand(LifecycleCommand LifecycleCommand)
LifecycleCommand
- Remote command execution object.Copyright © 2023. All rights reserved.