Class UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasetoolsruntime.requests.UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest,UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails>
- Enclosing class:
- UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest
public static class UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder extends Object implements BmcRequest.Builder<UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest,UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builderbody$(UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails body)Alternative setter for the body parameter.UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequestbuild()Build the instance of UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest as configured by this builderUpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequestbuildWithoutInvocationCallback()Build the instance of UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest as configured by this builderUpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Buildercopy(UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest o)Copy method to populate the builder with values from the given instance.UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.BuilderdatabaseToolsDatabaseApiGatewayConfigId(String databaseToolsDatabaseApiGatewayConfigId)The OCID of a Database Tools database API gateway config.UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.BuilderifMatch(String ifMatch)If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.BuilderpoolKey(String poolKey)The key of the pool config.UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.BuilderupdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails(UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails updateDatabaseToolsDatabaseApiGatewayConfigPoolDetails)The information to be updated.
-
-
-
Method Detail
-
databaseToolsDatabaseApiGatewayConfigId
public UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder databaseToolsDatabaseApiGatewayConfigId(String databaseToolsDatabaseApiGatewayConfigId)
The OCID of a Database Tools database API gateway config.- Parameters:
databaseToolsDatabaseApiGatewayConfigId- the value to set- Returns:
- this builder instance
-
poolKey
public UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder poolKey(String poolKey)
The key of the pool config.- Parameters:
poolKey- the value to set- Returns:
- this builder instance
-
updateDatabaseToolsDatabaseApiGatewayConfigPoolDetails
public UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder updateDatabaseToolsDatabaseApiGatewayConfigPoolDetails(UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails updateDatabaseToolsDatabaseApiGatewayConfigPoolDetails)
The information to be updated.- Parameters:
updateDatabaseToolsDatabaseApiGatewayConfigPoolDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder ifMatch(String ifMatch)
If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).In general, it can be used with any method that involves the selection or modification of a representation to abort the request if the selected representation’s current entity tag is not a member within the If-Match field value. When specified on an action-specific subresource, the ETag value of the resource on which the action is requested should be provided.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder copy(UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest,UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest build()
Build the instance of UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest 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<UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest,UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails>- Returns:
- instance of UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest
-
body$
public UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest.Builder body$(UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest,UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest buildWithoutInvocationCallback()
Build the instance of UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolRequest
-
-