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