Package com.oracle.bmc.psql.requests
Class PatchDbSystemRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.requests.PatchDbSystemRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<PatchDbSystemRequest,PatchDbSystemDetails>
- Enclosing class:
- PatchDbSystemRequest
public static class PatchDbSystemRequest.Builder extends Object implements BmcRequest.Builder<PatchDbSystemRequest,PatchDbSystemDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchDbSystemRequest.Builderbody$(PatchDbSystemDetails body)Alternative setter for the body parameter.PatchDbSystemRequestbuild()Build the instance of PatchDbSystemRequest as configured by this builderPatchDbSystemRequestbuildWithoutInvocationCallback()Build the instance of PatchDbSystemRequest as configured by this builderPatchDbSystemRequest.Buildercopy(PatchDbSystemRequest o)Copy method to populate the builder with values from the given instance.PatchDbSystemRequest.BuilderdbSystemId(String dbSystemId)A unique identifier for the database system.PatchDbSystemRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.PatchDbSystemRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.PatchDbSystemRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.PatchDbSystemRequest.BuilderpatchDbSystemDetails(PatchDbSystemDetails patchDbSystemDetails)The information to be modified.PatchDbSystemRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
dbSystemId
public PatchDbSystemRequest.Builder dbSystemId(String dbSystemId)
A unique identifier for the database system.- Parameters:
dbSystemId- the value to set- Returns:
- this builder instance
-
patchDbSystemDetails
public PatchDbSystemRequest.Builder patchDbSystemDetails(PatchDbSystemDetails patchDbSystemDetails)
The information to be modified.- Parameters:
patchDbSystemDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public PatchDbSystemRequest.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 PatchDbSystemRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public PatchDbSystemRequest.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 PatchDbSystemRequest.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 PatchDbSystemRequest.Builder copy(PatchDbSystemRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<PatchDbSystemRequest,PatchDbSystemDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public PatchDbSystemRequest build()
Build the instance of PatchDbSystemRequest 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<PatchDbSystemRequest,PatchDbSystemDetails>- Returns:
- instance of PatchDbSystemRequest
-
body$
public PatchDbSystemRequest.Builder body$(PatchDbSystemDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<PatchDbSystemRequest,PatchDbSystemDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public PatchDbSystemRequest buildWithoutInvocationCallback()
Build the instance of PatchDbSystemRequest 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 PatchDbSystemRequest
-
-