Class GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasetoolsruntime.requests.GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetDatabaseToolsDatabaseApiGatewayConfigContentRequest,Void>
- Enclosing class:
- GetDatabaseToolsDatabaseApiGatewayConfigContentRequest
public static class GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.Builder extends Object implements BmcRequest.Builder<GetDatabaseToolsDatabaseApiGatewayConfigContentRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDatabaseToolsDatabaseApiGatewayConfigContentRequestbuild()Build the instance of GetDatabaseToolsDatabaseApiGatewayConfigContentRequest as configured by this builderGetDatabaseToolsDatabaseApiGatewayConfigContentRequestbuildWithoutInvocationCallback()Build the instance of GetDatabaseToolsDatabaseApiGatewayConfigContentRequest as configured by this builderGetDatabaseToolsDatabaseApiGatewayConfigContentRequest.Buildercopy(GetDatabaseToolsDatabaseApiGatewayConfigContentRequest o)Copy method to populate the builder with values from the given instance.GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.BuilderdatabaseToolsDatabaseApiGatewayConfigId(String databaseToolsDatabaseApiGatewayConfigId)The OCID of a Database Tools database API gateway config.GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.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).GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.BuilderifNoneMatch(String ifNoneMatch)For conditional requests.GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
databaseToolsDatabaseApiGatewayConfigId
public GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.Builder databaseToolsDatabaseApiGatewayConfigId(String databaseToolsDatabaseApiGatewayConfigId)
The OCID of a Database Tools database API gateway config.- Parameters:
databaseToolsDatabaseApiGatewayConfigId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.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
-
ifNoneMatch
public GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.Builder ifNoneMatch(String ifNoneMatch)
For conditional requests.In the GET call for a resource, set the If-None-Match header to the value of the ETag from a previous GET (or POST or PUT) response for that resource. The server will return with either a 304 Not Modified response if the resource has not changed, or a 200 OK response with the updated representation.
- Parameters:
ifNoneMatch- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.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 GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.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 GetDatabaseToolsDatabaseApiGatewayConfigContentRequest.Builder copy(GetDatabaseToolsDatabaseApiGatewayConfigContentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetDatabaseToolsDatabaseApiGatewayConfigContentRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetDatabaseToolsDatabaseApiGatewayConfigContentRequest build()
Build the instance of GetDatabaseToolsDatabaseApiGatewayConfigContentRequest 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<GetDatabaseToolsDatabaseApiGatewayConfigContentRequest,Void>- Returns:
- instance of GetDatabaseToolsDatabaseApiGatewayConfigContentRequest
-
buildWithoutInvocationCallback
public GetDatabaseToolsDatabaseApiGatewayConfigContentRequest buildWithoutInvocationCallback()
Build the instance of GetDatabaseToolsDatabaseApiGatewayConfigContentRequest 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 GetDatabaseToolsDatabaseApiGatewayConfigContentRequest
-
-