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