Class UpdateExternalDbSystemConnectorRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.UpdateExternalDbSystemConnectorRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateExternalDbSystemConnectorRequest,UpdateExternalDbSystemConnectorDetails>
- Enclosing class:
- UpdateExternalDbSystemConnectorRequest
public static class UpdateExternalDbSystemConnectorRequest.Builder extends Object implements BmcRequest.Builder<UpdateExternalDbSystemConnectorRequest,UpdateExternalDbSystemConnectorDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateExternalDbSystemConnectorRequest.Builder
body$(UpdateExternalDbSystemConnectorDetails body)
Alternative setter for the body parameter.UpdateExternalDbSystemConnectorRequest
build()
Build the instance of UpdateExternalDbSystemConnectorRequest as configured by this builderUpdateExternalDbSystemConnectorRequest
buildWithoutInvocationCallback()
Build the instance of UpdateExternalDbSystemConnectorRequest as configured by this builderUpdateExternalDbSystemConnectorRequest.Builder
copy(UpdateExternalDbSystemConnectorRequest o)
Copy method to populate the builder with values from the given instance.UpdateExternalDbSystemConnectorRequest.Builder
externalDbSystemConnectorId(String externalDbSystemConnectorId)
The OCID of the external connector.UpdateExternalDbSystemConnectorRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.UpdateExternalDbSystemConnectorRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateExternalDbSystemConnectorRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.UpdateExternalDbSystemConnectorRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateExternalDbSystemConnectorRequest.Builder
updateExternalDbSystemConnectorDetails(UpdateExternalDbSystemConnectorDetails updateExternalDbSystemConnectorDetails)
The details required to update an external connector.
-
-
-
Method Detail
-
externalDbSystemConnectorId
public UpdateExternalDbSystemConnectorRequest.Builder externalDbSystemConnectorId(String externalDbSystemConnectorId)
The OCID of the external connector.- Parameters:
externalDbSystemConnectorId
- the value to set- Returns:
- this builder instance
-
updateExternalDbSystemConnectorDetails
public UpdateExternalDbSystemConnectorRequest.Builder updateExternalDbSystemConnectorDetails(UpdateExternalDbSystemConnectorDetails updateExternalDbSystemConnectorDetails)
The details required to update an external connector.- Parameters:
updateExternalDbSystemConnectorDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateExternalDbSystemConnectorRequest.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 UpdateExternalDbSystemConnectorRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateExternalDbSystemConnectorRequest.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 UpdateExternalDbSystemConnectorRequest.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 UpdateExternalDbSystemConnectorRequest.Builder copy(UpdateExternalDbSystemConnectorRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateExternalDbSystemConnectorRequest,UpdateExternalDbSystemConnectorDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateExternalDbSystemConnectorRequest build()
Build the instance of UpdateExternalDbSystemConnectorRequest 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:
build
in interfaceBmcRequest.Builder<UpdateExternalDbSystemConnectorRequest,UpdateExternalDbSystemConnectorDetails>
- Returns:
- instance of UpdateExternalDbSystemConnectorRequest
-
body$
public UpdateExternalDbSystemConnectorRequest.Builder body$(UpdateExternalDbSystemConnectorDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateExternalDbSystemConnectorRequest,UpdateExternalDbSystemConnectorDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateExternalDbSystemConnectorRequest buildWithoutInvocationCallback()
Build the instance of UpdateExternalDbSystemConnectorRequest 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 UpdateExternalDbSystemConnectorRequest
-
-