Class CancelAsyncInvocationRequestBody
- java.lang.Object
-
- com.huaweicloud.sdk.functiongraph.v2.model.CancelAsyncInvocationRequestBody
-
public class CancelAsyncInvocationRequestBody extends Object
CancelAsyncInvocationRequestBody
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCancelAsyncInvocationRequestBody.TypeEnum停止的类型 支持recursive, force。 recursive: 停止正在调用的子函数。 force: 直接杀死runtime。
-
Constructor Summary
Constructors Constructor Description CancelAsyncInvocationRequestBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetRequestId()被停止的请求idCancelAsyncInvocationRequestBody.TypeEnumgetType()停止的类型 支持recursive, force。 recursive: 停止正在调用的子函数。 force: 直接杀死runtime。inthashCode()voidsetRequestId(String requestId)voidsetType(CancelAsyncInvocationRequestBody.TypeEnum type)StringtoString()CancelAsyncInvocationRequestBodywithRequestId(String requestId)CancelAsyncInvocationRequestBodywithType(CancelAsyncInvocationRequestBody.TypeEnum type)
-
-
-
Method Detail
-
withRequestId
public CancelAsyncInvocationRequestBody withRequestId(String requestId)
-
getRequestId
public String getRequestId()
被停止的请求id- Returns:
- requestId
-
setRequestId
public void setRequestId(String requestId)
-
withType
public CancelAsyncInvocationRequestBody withType(CancelAsyncInvocationRequestBody.TypeEnum type)
-
getType
public CancelAsyncInvocationRequestBody.TypeEnum getType()
停止的类型 支持recursive, force。 recursive: 停止正在调用的子函数。 force: 直接杀死runtime。- Returns:
- type
-
setType
public void setType(CancelAsyncInvocationRequestBody.TypeEnum type)
-
-