Class TaskFromRestTaskDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.dataintegration.model.Task
- 
- com.oracle.bmc.dataintegration.model.TaskFromRestTaskDetails
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class TaskFromRestTaskDetails extends TaskThe information about the Generic REST task.The endpoint and cancelEndpoint properties are deprecated, use the properties executeRestCallConfig, cancelRestCallConfig and pollRestCallConfig for execute, cancel and polling of the calls. 
 Note: Objects should always be created or deserialized using theTaskFromRestTaskDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theTaskFromRestTaskDetails.Builder, which maintain a set of all explicitly set fields calledTaskFromRestTaskDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTaskFromRestTaskDetails.ApiCallModeThe REST invocation pattern to use.static classTaskFromRestTaskDetails.Builderstatic classTaskFromRestTaskDetails.CancelMethodTypeThe REST method to use for canceling the original request.static classTaskFromRestTaskDetails.MethodTypeThe REST method to use.- 
Nested classes/interfaces inherited from class com.oracle.bmc.dataintegration.model.TaskTask.ModelType
 
- 
 - 
Constructor SummaryConstructors Constructor Description TaskFromRestTaskDetails(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectVersion, Integer objectStatus, String identifier, List<InputPort> inputPorts, List<OutputPort> outputPorts, List<Parameter> parameters, ConfigValues opConfigValues, ConfigProvider configProviderDelegate, Boolean isConcurrentAllowed, ObjectMetadata metadata, Map<String,String> keyMap, RegistryMetadata registryMetadata, AuthDetails authDetails, AuthConfig authConfig, Expression endpoint, TaskFromRestTaskDetails.MethodType methodType, Object headers, String jsonData, TaskFromRestTaskDetails.ApiCallMode apiCallMode, Expression cancelEndpoint, TaskFromRestTaskDetails.CancelMethodType cancelMethodType, ExecuteRestCallConfig executeRestCallConfig, CancelRestCallConfig cancelRestCallConfig, PollRestCallConfig pollRestCallConfig, List<TypedExpression> typedExpressions)Deprecated.
 - 
Method Summary- 
Methods inherited from class com.oracle.bmc.dataintegration.model.TaskgetConfigProviderDelegate, getDescription, getIdentifier, getInputPorts, getIsConcurrentAllowed, getKey, getKeyMap, getMetadata, getModelVersion, getName, getObjectStatus, getObjectVersion, getOpConfigValues, getOutputPorts, getParameters, getParentRef, getRegistryMetadata
 
- 
 
- 
- 
- 
Constructor Detail- 
TaskFromRestTaskDetails@Deprecated public TaskFromRestTaskDetails(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectVersion, Integer objectStatus, String identifier, List<InputPort> inputPorts, List<OutputPort> outputPorts, List<Parameter> parameters, ConfigValues opConfigValues, ConfigProvider configProviderDelegate, Boolean isConcurrentAllowed, ObjectMetadata metadata, Map<String,String> keyMap, RegistryMetadata registryMetadata, AuthDetails authDetails, AuthConfig authConfig, Expression endpoint, TaskFromRestTaskDetails.MethodType methodType, Object headers, String jsonData, TaskFromRestTaskDetails.ApiCallMode apiCallMode, Expression cancelEndpoint, TaskFromRestTaskDetails.CancelMethodType cancelMethodType, ExecuteRestCallConfig executeRestCallConfig, CancelRestCallConfig cancelRestCallConfig, PollRestCallConfig pollRestCallConfig, List<TypedExpression> typedExpressions) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static TaskFromRestTaskDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic TaskFromRestTaskDetails.Builder toBuilder() 
 - 
getAuthDetailspublic AuthDetails getAuthDetails() 
 - 
getAuthConfigpublic AuthConfig getAuthConfig() 
 - 
getEndpointpublic Expression getEndpoint() 
 - 
getMethodTypepublic TaskFromRestTaskDetails.MethodType getMethodType() The REST method to use.This property is deprecated, use ExecuteRestCallConfig’s methodType property instead. - Returns:
- the value
 
 - 
getHeaderspublic Object getHeaders() The headers for the REST call.This property is deprecated, use ExecuteRestCallConfig’s headers property instead. - Returns:
- the value
 
 - 
getJsonDatapublic String getJsonData() JSON data for payload body.This property is deprecated, use ExecuteRestCallConfig’s payload config param instead. - Returns:
- the value
 
 - 
getApiCallModepublic TaskFromRestTaskDetails.ApiCallMode getApiCallMode() The REST invocation pattern to use.ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType. - Returns:
- the value
 
 - 
getCancelEndpointpublic Expression getCancelEndpoint() 
 - 
getCancelMethodTypepublic TaskFromRestTaskDetails.CancelMethodType getCancelMethodType() The REST method to use for canceling the original request.- Returns:
- the value
 
 - 
getExecuteRestCallConfigpublic ExecuteRestCallConfig getExecuteRestCallConfig() 
 - 
getCancelRestCallConfigpublic CancelRestCallConfig getCancelRestCallConfig() 
 - 
getPollRestCallConfigpublic PollRestCallConfig getPollRestCallConfig() 
 - 
getTypedExpressionspublic List<TypedExpression> getTypedExpressions() List of typed expressions.- Returns:
- the value
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.
 
- 
 
-