Enum CreateTaskFromRestTask.ApiCallMode
- java.lang.Object
-
- java.lang.Enum<CreateTaskFromRestTask.ApiCallMode>
-
- com.oracle.bmc.dataintegration.model.CreateTaskFromRestTask.ApiCallMode
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateTaskFromRestTask.ApiCallMode>
- Enclosing class:
- CreateTaskFromRestTask
public static enum CreateTaskFromRestTask.ApiCallMode extends Enum<CreateTaskFromRestTask.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 CreateTaskFromRestTask.ApiCallMode
create(String key)
String
getValue()
static CreateTaskFromRestTask.ApiCallMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateTaskFromRestTask.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 CreateTaskFromRestTask.ApiCallMode Synchronous
-
AsyncOciWorkrequest
public static final CreateTaskFromRestTask.ApiCallMode AsyncOciWorkrequest
-
AsyncGeneric
public static final CreateTaskFromRestTask.ApiCallMode AsyncGeneric
-
-
Method Detail
-
values
public static CreateTaskFromRestTask.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 (CreateTaskFromRestTask.ApiCallMode c : CreateTaskFromRestTask.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 CreateTaskFromRestTask.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 CreateTaskFromRestTask.ApiCallMode create(String key)
-
-