Class CreateEventRequest
- java.lang.Object
-
- com.huaweicloud.sdk.functiongraph.v2.model.CreateEventRequest
-
public class CreateEventRequest extends Object
Request Object
-
-
Constructor Summary
Constructors Constructor Description CreateEventRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CreateEventRequestBodygetBody()Get bodyStringgetFunctionUrn()函数的URN,详细解释见FunctionGraph函数模型的描述。inthashCode()voidsetBody(CreateEventRequestBody body)voidsetFunctionUrn(String functionUrn)StringtoString()CreateEventRequestwithBody(CreateEventRequestBody body)CreateEventRequestwithBody(java.util.function.Consumer<CreateEventRequestBody> bodySetter)CreateEventRequestwithFunctionUrn(String functionUrn)
-
-
-
Method Detail
-
withFunctionUrn
public CreateEventRequest withFunctionUrn(String functionUrn)
-
getFunctionUrn
public String getFunctionUrn()
函数的URN,详细解释见FunctionGraph函数模型的描述。- Returns:
- functionUrn
-
setFunctionUrn
public void setFunctionUrn(String functionUrn)
-
withBody
public CreateEventRequest withBody(CreateEventRequestBody body)
-
withBody
public CreateEventRequest withBody(java.util.function.Consumer<CreateEventRequestBody> bodySetter)
-
getBody
public CreateEventRequestBody getBody()
Get body- Returns:
- body
-
setBody
public void setBody(CreateEventRequestBody body)
-
-