Package com.oracle.bmc.database.requests
Class UpdateDatabaseRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.requests.UpdateDatabaseRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateDatabaseRequest,UpdateDatabaseDetails>
 - Enclosing class:
- UpdateDatabaseRequest
 
 public static class UpdateDatabaseRequest.Builder extends Object implements BmcRequest.Builder<UpdateDatabaseRequest,UpdateDatabaseDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDatabaseRequest.Builderbody$(UpdateDatabaseDetails body)Alternative setter for the body parameter.UpdateDatabaseRequestbuild()Build the instance of UpdateDatabaseRequest as configured by this builderUpdateDatabaseRequestbuildWithoutInvocationCallback()Build the instance of UpdateDatabaseRequest as configured by this builderUpdateDatabaseRequest.Buildercopy(UpdateDatabaseRequest o)Copy method to populate the builder with values from the given instance.UpdateDatabaseRequest.BuilderdatabaseId(String databaseId)The database OCID.UpdateDatabaseRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateDatabaseRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateDatabaseRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateDatabaseRequest.BuilderupdateDatabaseDetails(UpdateDatabaseDetails updateDatabaseDetails)Request to perform database update.
 
- 
- 
- 
Method Detail- 
databaseIdpublic UpdateDatabaseRequest.Builder databaseId(String databaseId) The database OCID.- Parameters:
- databaseId- the value to set
- Returns:
- this builder instance
 
 - 
updateDatabaseDetailspublic UpdateDatabaseRequest.Builder updateDatabaseDetails(UpdateDatabaseDetails updateDatabaseDetails) Request to perform database update.- Parameters:
- updateDatabaseDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateDatabaseRequest.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
 
 - 
invocationCallbackpublic UpdateDatabaseRequest.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
 
 - 
retryConfigurationpublic UpdateDatabaseRequest.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
 
 - 
copypublic UpdateDatabaseRequest.Builder copy(UpdateDatabaseRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateDatabaseRequest,UpdateDatabaseDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateDatabaseRequest build() Build the instance of UpdateDatabaseRequest 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 interface- BmcRequest.Builder<UpdateDatabaseRequest,UpdateDatabaseDetails>
- Returns:
- instance of UpdateDatabaseRequest
 
 - 
body$public UpdateDatabaseRequest.Builder body$(UpdateDatabaseDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateDatabaseRequest,UpdateDatabaseDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateDatabaseRequest buildWithoutInvocationCallback() Build the instance of UpdateDatabaseRequest 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 UpdateDatabaseRequest
 
 
- 
 
-