Package com.oracle.bmc.database.requests
Class UpdateExecutionWindowRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.UpdateExecutionWindowRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateExecutionWindowRequest,UpdateExecutionWindowDetails>
- Enclosing class:
- UpdateExecutionWindowRequest
public static class UpdateExecutionWindowRequest.Builder extends Object implements BmcRequest.Builder<UpdateExecutionWindowRequest,UpdateExecutionWindowDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateExecutionWindowRequest.Builderbody$(UpdateExecutionWindowDetails body)Alternative setter for the body parameter.UpdateExecutionWindowRequestbuild()Build the instance of UpdateExecutionWindowRequest as configured by this builderUpdateExecutionWindowRequestbuildWithoutInvocationCallback()Build the instance of UpdateExecutionWindowRequest as configured by this builderUpdateExecutionWindowRequest.Buildercopy(UpdateExecutionWindowRequest o)Copy method to populate the builder with values from the given instance.UpdateExecutionWindowRequest.BuilderexecutionWindowId(String executionWindowId)The execution window OCID.UpdateExecutionWindowRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateExecutionWindowRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateExecutionWindowRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.UpdateExecutionWindowRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateExecutionWindowRequest.BuilderupdateExecutionWindowDetails(UpdateExecutionWindowDetails updateExecutionWindowDetails)Request to update the properties of a execution window.
-
-
-
Method Detail
-
executionWindowId
public UpdateExecutionWindowRequest.Builder executionWindowId(String executionWindowId)
The execution window OCID.- Parameters:
executionWindowId- the value to set- Returns:
- this builder instance
-
updateExecutionWindowDetails
public UpdateExecutionWindowRequest.Builder updateExecutionWindowDetails(UpdateExecutionWindowDetails updateExecutionWindowDetails)
Request to update the properties of a execution window.- Parameters:
updateExecutionWindowDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateExecutionWindowRequest.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.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateExecutionWindowRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateExecutionWindowRequest.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 UpdateExecutionWindowRequest.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 UpdateExecutionWindowRequest.Builder copy(UpdateExecutionWindowRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateExecutionWindowRequest,UpdateExecutionWindowDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateExecutionWindowRequest build()
Build the instance of UpdateExecutionWindowRequest 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:
buildin interfaceBmcRequest.Builder<UpdateExecutionWindowRequest,UpdateExecutionWindowDetails>- Returns:
- instance of UpdateExecutionWindowRequest
-
body$
public UpdateExecutionWindowRequest.Builder body$(UpdateExecutionWindowDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateExecutionWindowRequest,UpdateExecutionWindowDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateExecutionWindowRequest buildWithoutInvocationCallback()
Build the instance of UpdateExecutionWindowRequest 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 UpdateExecutionWindowRequest
-
-