Enum UpdateTaskFromRestTask.ApiCallMode
- java.lang.Object
-
- java.lang.Enum<UpdateTaskFromRestTask.ApiCallMode>
-
- com.oracle.bmc.dataintegration.model.UpdateTaskFromRestTask.ApiCallMode
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<UpdateTaskFromRestTask.ApiCallMode>
- Enclosing class:
- UpdateTaskFromRestTask
public static enum UpdateTaskFromRestTask.ApiCallMode extends Enum<UpdateTaskFromRestTask.ApiCallMode> implements BmcEnum
The REST invocation pattern to use.ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AsyncGeneric
AsyncOciWorkrequest
Synchronous
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateTaskFromRestTask.ApiCallMode
create(String key)
String
getValue()
static UpdateTaskFromRestTask.ApiCallMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateTaskFromRestTask.ApiCallMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Synchronous
public static final UpdateTaskFromRestTask.ApiCallMode Synchronous
-
AsyncOciWorkrequest
public static final UpdateTaskFromRestTask.ApiCallMode AsyncOciWorkrequest
-
AsyncGeneric
public static final UpdateTaskFromRestTask.ApiCallMode AsyncGeneric
-
-
Method Detail
-
values
public static UpdateTaskFromRestTask.ApiCallMode[] 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 (UpdateTaskFromRestTask.ApiCallMode c : UpdateTaskFromRestTask.ApiCallMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateTaskFromRestTask.ApiCallMode 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 UpdateTaskFromRestTask.ApiCallMode create(String key)
-
-