public static enum InvokeFunctionRequest.FnIntent extends Enum<InvokeFunctionRequest.FnIntent> implements BmcEnum
An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. ‘httprequest’, ‘cloudevent’.
Enum Constant and Description |
---|
Cloudevent |
Httprequest |
Modifier and Type | Method and Description |
---|---|
static InvokeFunctionRequest.FnIntent |
create(String key) |
String |
getValue() |
static InvokeFunctionRequest.FnIntent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvokeFunctionRequest.FnIntent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvokeFunctionRequest.FnIntent Httprequest
public static final InvokeFunctionRequest.FnIntent Cloudevent
public static InvokeFunctionRequest.FnIntent[] values()
for (InvokeFunctionRequest.FnIntent c : InvokeFunctionRequest.FnIntent.values()) System.out.println(c);
public static InvokeFunctionRequest.FnIntent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static InvokeFunctionRequest.FnIntent create(String key)
Copyright © 2016–2024. All rights reserved.