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