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