public static enum InvokeFunctionRequest.FnInvokeType extends Enum<InvokeFunctionRequest.FnInvokeType>
Indicates whether the functions platform should execute the request directly and return the result (‘sync’) or whether the platform should enqueue the request for later processing and acknowledge that it has been processed (‘detached’).
Modifier and Type | Method and Description |
---|---|
static InvokeFunctionRequest.FnInvokeType |
create(String key) |
String |
getValue() |
static InvokeFunctionRequest.FnInvokeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvokeFunctionRequest.FnInvokeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvokeFunctionRequest.FnInvokeType Detached
public static final InvokeFunctionRequest.FnInvokeType Sync
public static InvokeFunctionRequest.FnInvokeType[] values()
for (InvokeFunctionRequest.FnInvokeType c : InvokeFunctionRequest.FnInvokeType.values()) System.out.println(c);
public static InvokeFunctionRequest.FnInvokeType 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 String getValue()
public static InvokeFunctionRequest.FnInvokeType create(String key)
Copyright © 2016–2020. All rights reserved.