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