Class UpdateTaskRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.requests.UpdateTaskRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateTaskRequest,UpdateTaskDetails>
- Enclosing class:
- UpdateTaskRequest
public static class UpdateTaskRequest.Builder extends Object implements BmcRequest.Builder<UpdateTaskRequest,UpdateTaskDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTaskRequest.Builder
body$(UpdateTaskDetails body)
Alternative setter for the body parameter.UpdateTaskRequest
build()
Build the instance of UpdateTaskRequest as configured by this builderUpdateTaskRequest
buildWithoutInvocationCallback()
Build the instance of UpdateTaskRequest as configured by this builderUpdateTaskRequest.Builder
copy(UpdateTaskRequest o)
Copy method to populate the builder with values from the given instance.UpdateTaskRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.UpdateTaskRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateTaskRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.UpdateTaskRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateTaskRequest.Builder
taskKey(String taskKey)
The task key.UpdateTaskRequest.Builder
updateTaskDetails(UpdateTaskDetails updateTaskDetails)
The details needed to update a task.UpdateTaskRequest.Builder
workspaceId(String workspaceId)
The workspace ID.
-
-
-
Method Detail
-
workspaceId
public UpdateTaskRequest.Builder workspaceId(String workspaceId)
The workspace ID.- Parameters:
workspaceId
- the value to set- Returns:
- this builder instance
-
taskKey
public UpdateTaskRequest.Builder taskKey(String taskKey)
The task key.- Parameters:
taskKey
- the value to set- Returns:
- this builder instance
-
updateTaskDetails
public UpdateTaskRequest.Builder updateTaskDetails(UpdateTaskDetails updateTaskDetails)
The details needed to update a task.- Parameters:
updateTaskDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateTaskRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateTaskRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value. When ‘if-match’ is provided and its value does not exactly match the ‘etag’ of the resource on the server, the request fails with the 412 response code.
- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateTaskRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public UpdateTaskRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public UpdateTaskRequest.Builder copy(UpdateTaskRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateTaskRequest,UpdateTaskDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateTaskRequest build()
Build the instance of UpdateTaskRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<UpdateTaskRequest,UpdateTaskDetails>
- Returns:
- instance of UpdateTaskRequest
-
body$
public UpdateTaskRequest.Builder body$(UpdateTaskDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateTaskRequest,UpdateTaskDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateTaskRequest buildWithoutInvocationCallback()
Build the instance of UpdateTaskRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of UpdateTaskRequest
-
-