Class UpdateAutomaticDrConfigurationRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.requests.UpdateAutomaticDrConfigurationRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateAutomaticDrConfigurationRequest,UpdateAutomaticDrConfigurationDetails>
 - Enclosing class:
- UpdateAutomaticDrConfigurationRequest
 
 public static class UpdateAutomaticDrConfigurationRequest.Builder extends Object implements BmcRequest.Builder<UpdateAutomaticDrConfigurationRequest,UpdateAutomaticDrConfigurationDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAutomaticDrConfigurationRequest.BuilderautomaticDrConfigurationId(String automaticDrConfigurationId)The OCID of the Automatic DR configuration.UpdateAutomaticDrConfigurationRequest.Builderbody$(UpdateAutomaticDrConfigurationDetails body)Alternative setter for the body parameter.UpdateAutomaticDrConfigurationRequestbuild()Build the instance of UpdateAutomaticDrConfigurationRequest as configured by this builderUpdateAutomaticDrConfigurationRequestbuildWithoutInvocationCallback()Build the instance of UpdateAutomaticDrConfigurationRequest as configured by this builderUpdateAutomaticDrConfigurationRequest.Buildercopy(UpdateAutomaticDrConfigurationRequest o)Copy method to populate the builder with values from the given instance.UpdateAutomaticDrConfigurationRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateAutomaticDrConfigurationRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateAutomaticDrConfigurationRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateAutomaticDrConfigurationRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateAutomaticDrConfigurationRequest.BuilderupdateAutomaticDrConfigurationDetails(UpdateAutomaticDrConfigurationDetails updateAutomaticDrConfigurationDetails)Details for updating the Automatic DR configuration.
 
- 
- 
- 
Method Detail- 
updateAutomaticDrConfigurationDetailspublic UpdateAutomaticDrConfigurationRequest.Builder updateAutomaticDrConfigurationDetails(UpdateAutomaticDrConfigurationDetails updateAutomaticDrConfigurationDetails) Details for updating the Automatic DR configuration.- Parameters:
- updateAutomaticDrConfigurationDetails- the value to set
- Returns:
- this builder instance
 
 - 
automaticDrConfigurationIdpublic UpdateAutomaticDrConfigurationRequest.Builder automaticDrConfigurationId(String automaticDrConfigurationId) The OCID of the Automatic DR configuration.Example: ocid1.automaticDrConfiguration.oc1..uniqueID - Parameters:
- automaticDrConfigurationId- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateAutomaticDrConfigurationRequest.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 UpdateAutomaticDrConfigurationRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateAutomaticDrConfigurationRequest.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 UpdateAutomaticDrConfigurationRequest.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 UpdateAutomaticDrConfigurationRequest.Builder copy(UpdateAutomaticDrConfigurationRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateAutomaticDrConfigurationRequest,UpdateAutomaticDrConfigurationDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateAutomaticDrConfigurationRequest build() Build the instance of UpdateAutomaticDrConfigurationRequest 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<UpdateAutomaticDrConfigurationRequest,UpdateAutomaticDrConfigurationDetails>
- Returns:
- instance of UpdateAutomaticDrConfigurationRequest
 
 - 
body$public UpdateAutomaticDrConfigurationRequest.Builder body$(UpdateAutomaticDrConfigurationDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateAutomaticDrConfigurationRequest,UpdateAutomaticDrConfigurationDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateAutomaticDrConfigurationRequest buildWithoutInvocationCallback() Build the instance of UpdateAutomaticDrConfigurationRequest 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 UpdateAutomaticDrConfigurationRequest
 
 
- 
 
-