public class TerminateAsyncEventRequest extends AbstractModel
Constructor and Description |
---|
TerminateAsyncEventRequest() |
TerminateAsyncEventRequest(TerminateAsyncEventRequest 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 |
getFunctionName()
Get Function name
|
Boolean |
getGraceShutdown()
Get Whether to enable grace shutdown.
|
String |
getInvokeRequestId()
Get Terminated invocation request ID
|
String |
getNamespace()
Get Namespace
|
void |
setFunctionName(String FunctionName)
Set Function name
|
void |
setGraceShutdown(Boolean GraceShutdown)
Set Whether to enable grace shutdown.
|
void |
setInvokeRequestId(String InvokeRequestId)
Set Terminated invocation request ID
|
void |
setNamespace(String Namespace)
Set Namespace
|
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 TerminateAsyncEventRequest()
public TerminateAsyncEventRequest(TerminateAsyncEventRequest source)
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName
- Function namepublic String getInvokeRequestId()
public void setInvokeRequestId(String InvokeRequestId)
InvokeRequestId
- Terminated invocation request IDpublic String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Namespacepublic Boolean getGraceShutdown()
public void setGraceShutdown(Boolean GraceShutdown)
GraceShutdown
- Whether to enable grace shutdown. If it’s `true`, a `SIGTERM` signal is sent to the specified request. See [Sending termination signal](https://intl.cloud.tencent.com/document/product/583/63969?from_cn_redirect=1#.E5.8F.91.E9.80.81.E7.BB.88.E6.AD.A2.E4.BF.A1.E5.8F.B7]. It’s set to `false` by default.Copyright © 2023. All rights reserved.