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 SummaryEnum Constants Enum Constant Description AsyncGenericAsyncOciWorkrequestSynchronous
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateTaskFromRestTask.ApiCallModecreate(String key)StringgetValue()static CreateTaskFromRestTask.ApiCallModevalueOf(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- 
Synchronouspublic static final CreateTaskFromRestTask.ApiCallMode Synchronous 
 - 
AsyncOciWorkrequestpublic static final CreateTaskFromRestTask.ApiCallMode AsyncOciWorkrequest 
 - 
AsyncGenericpublic static final CreateTaskFromRestTask.ApiCallMode AsyncGeneric 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static CreateTaskFromRestTask.ApiCallMode create(String key) 
 
- 
 
-