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.Builder
body$(UpdateExternalDbSystemDiscoveryDetails body)
Alternative setter for the body parameter.UpdateExternalDbSystemDiscoveryRequest
build()
Build the instance of UpdateExternalDbSystemDiscoveryRequest as configured by this builderUpdateExternalDbSystemDiscoveryRequest
buildWithoutInvocationCallback()
Build the instance of UpdateExternalDbSystemDiscoveryRequest as configured by this builderUpdateExternalDbSystemDiscoveryRequest.Builder
copy(UpdateExternalDbSystemDiscoveryRequest o)
Copy method to populate the builder with values from the given instance.UpdateExternalDbSystemDiscoveryRequest.Builder
externalDbSystemDiscoveryId(String externalDbSystemDiscoveryId)
The OCID of the external DB system discovery.UpdateExternalDbSystemDiscoveryRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.UpdateExternalDbSystemDiscoveryRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateExternalDbSystemDiscoveryRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.UpdateExternalDbSystemDiscoveryRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateExternalDbSystemDiscoveryRequest.Builder
updateExternalDbSystemDiscoveryDetails(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:
copy
in 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:
build
in 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
-
-