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