public class CompleteLifecycleActionRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CompleteLifecycleActionRequest() |
CompleteLifecycleActionRequest(CompleteLifecycleActionRequest 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 |
getInstanceId()
Get One of the parameters `InstanceId` or `LifecycleActionToken` is required.
|
String |
getLifecycleActionResult()
Get Describes the result of the lifecycle action.
|
String |
getLifecycleActionToken()
Get Lifecycle action token.
|
String |
getLifecycleHookId()
Get Lifecycle hook ID.
|
void |
setInstanceId(String InstanceId)
Set One of the parameters `InstanceId` or `LifecycleActionToken` is required.
|
void |
setLifecycleActionResult(String LifecycleActionResult)
Set Describes the result of the lifecycle action.
|
void |
setLifecycleActionToken(String LifecycleActionToken)
Set Lifecycle action token.
|
void |
setLifecycleHookId(String LifecycleHookId)
Set Lifecycle hook ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CompleteLifecycleActionRequest()
public CompleteLifecycleActionRequest(CompleteLifecycleActionRequest source)
public String getLifecycleHookId()
public void setLifecycleHookId(String LifecycleHookId)
LifecycleHookId
- Lifecycle hook ID. you can get the lifecycle hook ID by calling the api [DescribeLifecycleHooks](https://intl.cloud.tencent.com/document/api/377/34452?from_cn_redirect=1) and retrieving the `LifecycleHookId` from the returned information.public String getLifecycleActionResult()
public void setLifecycleActionResult(String LifecycleActionResult)
LifecycleActionResult
- Describes the result of the lifecycle action. valid values are as follows:.
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- One of the parameters `InstanceId` or `LifecycleActionToken` is required. you can get the instance ID by logging in to the [console](https://console.cloud.tencent.com/cvm/index) or making an api call to [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and retrieving the `InstanceId` from the returned information.public String getLifecycleActionToken()
public void setLifecycleActionToken(String LifecycleActionToken)
LifecycleActionToken
- Lifecycle action token. specifies that one of `InstanceId` or `LifecycleActionToken` must be filled.
The method for accessing the parameter is as follows: when the hook of the `NotificationTarget` parameter is triggered, deliver a message containing the token to the message queue specified in the `NotificationTarget` parameter. the message queue consumer can obtain the token from the message.Copyright © 2025. All rights reserved.