Class UpdateOracleDbAwsKeyRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dbmulticloud.requests.UpdateOracleDbAwsKeyRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateOracleDbAwsKeyRequest,UpdateOracleDbAwsKeyDetails>
- Enclosing class:
- UpdateOracleDbAwsKeyRequest
public static class UpdateOracleDbAwsKeyRequest.Builder extends Object implements BmcRequest.Builder<UpdateOracleDbAwsKeyRequest,UpdateOracleDbAwsKeyDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateOracleDbAwsKeyRequest.Builderbody$(UpdateOracleDbAwsKeyDetails body)Alternative setter for the body parameter.UpdateOracleDbAwsKeyRequestbuild()Build the instance of UpdateOracleDbAwsKeyRequest as configured by this builderUpdateOracleDbAwsKeyRequestbuildWithoutInvocationCallback()Build the instance of UpdateOracleDbAwsKeyRequest as configured by this builderUpdateOracleDbAwsKeyRequest.Buildercopy(UpdateOracleDbAwsKeyRequest o)Copy method to populate the builder with values from the given instance.UpdateOracleDbAwsKeyRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateOracleDbAwsKeyRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateOracleDbAwsKeyRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateOracleDbAwsKeyRequest.BuilderoracleDbAwsKeyId(String oracleDbAwsKeyId)The OCID of the Oracle DB AWS Key resource.UpdateOracleDbAwsKeyRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateOracleDbAwsKeyRequest.BuilderupdateOracleDbAwsKeyDetails(UpdateOracleDbAwsKeyDetails updateOracleDbAwsKeyDetails)Details for to update OracleDbAwsKey.
-
-
-
Method Detail
-
oracleDbAwsKeyId
public UpdateOracleDbAwsKeyRequest.Builder oracleDbAwsKeyId(String oracleDbAwsKeyId)
The OCID of the Oracle DB AWS Key resource.- Parameters:
oracleDbAwsKeyId- the value to set- Returns:
- this builder instance
-
updateOracleDbAwsKeyDetails
public UpdateOracleDbAwsKeyRequest.Builder updateOracleDbAwsKeyDetails(UpdateOracleDbAwsKeyDetails updateOracleDbAwsKeyDetails)
Details for to update OracleDbAwsKey.- Parameters:
updateOracleDbAwsKeyDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateOracleDbAwsKeyRequest.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
-
opcRequestId
public UpdateOracleDbAwsKeyRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateOracleDbAwsKeyRequest.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 UpdateOracleDbAwsKeyRequest.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 UpdateOracleDbAwsKeyRequest.Builder copy(UpdateOracleDbAwsKeyRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateOracleDbAwsKeyRequest,UpdateOracleDbAwsKeyDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateOracleDbAwsKeyRequest build()
Build the instance of UpdateOracleDbAwsKeyRequest 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<UpdateOracleDbAwsKeyRequest,UpdateOracleDbAwsKeyDetails>- Returns:
- instance of UpdateOracleDbAwsKeyRequest
-
body$
public UpdateOracleDbAwsKeyRequest.Builder body$(UpdateOracleDbAwsKeyDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateOracleDbAwsKeyRequest,UpdateOracleDbAwsKeyDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateOracleDbAwsKeyRequest buildWithoutInvocationCallback()
Build the instance of UpdateOracleDbAwsKeyRequest 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 UpdateOracleDbAwsKeyRequest
-
-