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