Class UpdateTaskFromRestTask
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dataintegration.model.UpdateTaskDetails
-
- com.oracle.bmc.dataintegration.model.UpdateTaskFromRestTask
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class UpdateTaskFromRestTask extends UpdateTaskDetails
The 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 theUpdateTaskFromRestTask.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 theUpdateTaskFromRestTask.Builder
, which maintain a set of all explicitly set fields calledUpdateTaskFromRestTask.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 Summary
Nested Classes Modifier and Type Class Description static class
UpdateTaskFromRestTask.ApiCallMode
The REST invocation pattern to use.static class
UpdateTaskFromRestTask.Builder
static class
UpdateTaskFromRestTask.CancelMethodType
The REST method to use for canceling the original request.static class
UpdateTaskFromRestTask.MethodType
The REST method to use.-
Nested classes/interfaces inherited from class com.oracle.bmc.dataintegration.model.UpdateTaskDetails
UpdateTaskDetails.ModelType
-
-
Constructor Summary
Constructors Constructor Description UpdateTaskFromRestTask(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectStatus, Integer objectVersion, String identifier, List<InputPort> inputPorts, List<OutputPort> outputPorts, List<Parameter> parameters, ConfigValues opConfigValues, ConfigProvider configProviderDelegate, Boolean isConcurrentAllowed, RegistryMetadata registryMetadata, AuthDetails authDetails, AuthConfig authConfig, Expression endpoint, UpdateTaskFromRestTask.MethodType methodType, Object headers, String additionalProperties, String jsonData, UpdateTaskFromRestTask.ApiCallMode apiCallMode, Expression cancelEndpoint, UpdateTaskFromRestTask.CancelMethodType cancelMethodType, ExecuteRestCallConfig executeRestCallConfig, CancelRestCallConfig cancelRestCallConfig, PollRestCallConfig pollRestCallConfig, List<TypedExpression> typedExpressions)
Deprecated.
-
Method Summary
-
Methods inherited from class com.oracle.bmc.dataintegration.model.UpdateTaskDetails
getConfigProviderDelegate, getDescription, getIdentifier, getInputPorts, getIsConcurrentAllowed, getKey, getModelVersion, getName, getObjectStatus, getObjectVersion, getOpConfigValues, getOutputPorts, getParameters, getParentRef, getRegistryMetadata
-
-
-
-
Constructor Detail
-
UpdateTaskFromRestTask
@Deprecated public UpdateTaskFromRestTask(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectStatus, Integer objectVersion, String identifier, List<InputPort> inputPorts, List<OutputPort> outputPorts, List<Parameter> parameters, ConfigValues opConfigValues, ConfigProvider configProviderDelegate, Boolean isConcurrentAllowed, RegistryMetadata registryMetadata, AuthDetails authDetails, AuthConfig authConfig, Expression endpoint, UpdateTaskFromRestTask.MethodType methodType, Object headers, String additionalProperties, String jsonData, UpdateTaskFromRestTask.ApiCallMode apiCallMode, Expression cancelEndpoint, UpdateTaskFromRestTask.CancelMethodType cancelMethodType, ExecuteRestCallConfig executeRestCallConfig, CancelRestCallConfig cancelRestCallConfig, PollRestCallConfig pollRestCallConfig, List<TypedExpression> typedExpressions)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateTaskFromRestTask.Builder builder()
Create a new builder.
-
toBuilder
public UpdateTaskFromRestTask.Builder toBuilder()
-
getAuthDetails
public AuthDetails getAuthDetails()
-
getAuthConfig
public AuthConfig getAuthConfig()
-
getEndpoint
public Expression getEndpoint()
-
getMethodType
public UpdateTaskFromRestTask.MethodType getMethodType()
The REST method to use.This property is deprecated, use ExecuteRestCallConfig’s methodType property instead.
- Returns:
- the value
-
getHeaders
public Object getHeaders()
Headers data for the request.- Returns:
- the value
-
getAdditionalProperties
public String getAdditionalProperties()
Header value.- Returns:
- the value
-
getJsonData
public String getJsonData()
JSON data for payload body.This property is deprecated, use ExecuteRestCallConfig’s payload config param instead.
- Returns:
- the value
-
getApiCallMode
public UpdateTaskFromRestTask.ApiCallMode getApiCallMode()
The REST invocation pattern to use.ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
- Returns:
- the value
-
getCancelEndpoint
public Expression getCancelEndpoint()
-
getCancelMethodType
public UpdateTaskFromRestTask.CancelMethodType getCancelMethodType()
The REST method to use for canceling the original request.- Returns:
- the value
-
getExecuteRestCallConfig
public ExecuteRestCallConfig getExecuteRestCallConfig()
-
getCancelRestCallConfig
public CancelRestCallConfig getCancelRestCallConfig()
-
getPollRestCallConfig
public PollRestCallConfig getPollRestCallConfig()
-
getTypedExpressions
public List<TypedExpression> getTypedExpressions()
List of typed expressions.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classUpdateTaskDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classUpdateTaskDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classUpdateTaskDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUpdateTaskDetails
-
-