Enum InvokeFunctionRequest.FnInvokeType
- java.lang.Object
-
- java.lang.Enum<InvokeFunctionRequest.FnInvokeType>
-
- com.oracle.bmc.functions.requests.InvokeFunctionRequest.FnInvokeType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<InvokeFunctionRequest.FnInvokeType>
- Enclosing class:
- InvokeFunctionRequest
public static enum InvokeFunctionRequest.FnInvokeType extends Enum<InvokeFunctionRequest.FnInvokeType> implements BmcEnum
Indicates whether Oracle Functions should execute the request and return the result (‘sync’) of the execution, or whether Oracle Functions should return as soon as processing has begun (‘detached’) and leave result handling to the function.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
Detached
public static final InvokeFunctionRequest.FnInvokeType Detached
-
Sync
public static final InvokeFunctionRequest.FnInvokeType Sync
-
-
Method Detail
-
values
public static InvokeFunctionRequest.FnInvokeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InvokeFunctionRequest.FnInvokeType c : InvokeFunctionRequest.FnInvokeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvokeFunctionRequest.FnInvokeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static InvokeFunctionRequest.FnInvokeType create(String key)
-
-