public static class UpdateTaskScheduleRequest.Builder extends Object implements BmcRequest.Builder<UpdateTaskScheduleRequest,UpdateTaskScheduleDetails>
Modifier and Type | Method and Description |
---|---|
UpdateTaskScheduleRequest.Builder |
applicationKey(String applicationKey)
The application key.
|
UpdateTaskScheduleRequest.Builder |
body$(UpdateTaskScheduleDetails body)
Alternative setter for the body parameter.
|
UpdateTaskScheduleRequest |
build()
Build the instance of UpdateTaskScheduleRequest as configured by this builder
|
UpdateTaskScheduleRequest |
buildWithoutInvocationCallback() |
UpdateTaskScheduleRequest.Builder |
copy(UpdateTaskScheduleRequest o)
Copy method to populate the builder with values from the given instance.
|
UpdateTaskScheduleRequest.Builder |
ifMatch(String ifMatch)
For optimistic concurrency control.
|
UpdateTaskScheduleRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
UpdateTaskScheduleRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
UpdateTaskScheduleRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
UpdateTaskScheduleRequest.Builder |
taskScheduleKey(String taskScheduleKey)
TaskSchedule Key
|
String |
toString() |
UpdateTaskScheduleRequest.Builder |
updateTaskScheduleDetails(UpdateTaskScheduleDetails updateTaskScheduleDetails)
Request body parameter for TaskSchedule details
|
UpdateTaskScheduleRequest.Builder |
workspaceId(String workspaceId)
The workspace ID.
|
public UpdateTaskScheduleRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic UpdateTaskScheduleRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic UpdateTaskScheduleRequest.Builder copy(UpdateTaskScheduleRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<UpdateTaskScheduleRequest,UpdateTaskScheduleDetails>
o
- other request from which to copy valuespublic UpdateTaskScheduleRequest build()
Build the instance of UpdateTaskScheduleRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<UpdateTaskScheduleRequest,UpdateTaskScheduleDetails>
public UpdateTaskScheduleRequest.Builder body$(UpdateTaskScheduleDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<UpdateTaskScheduleRequest,UpdateTaskScheduleDetails>
body
- the body parameterpublic UpdateTaskScheduleRequest.Builder workspaceId(String workspaceId)
The workspace ID.
this
.public UpdateTaskScheduleRequest.Builder applicationKey(String applicationKey)
The application key.
this
.public UpdateTaskScheduleRequest.Builder taskScheduleKey(String taskScheduleKey)
TaskSchedule Key
this
.public UpdateTaskScheduleRequest.Builder updateTaskScheduleDetails(UpdateTaskScheduleDetails updateTaskScheduleDetails)
Request body parameter for TaskSchedule details
this
.public UpdateTaskScheduleRequest.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.
this
.public UpdateTaskScheduleRequest.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.
this
.public UpdateTaskScheduleRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.