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