Class CreateAutomaticDrConfigurationResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.responses.CreateAutomaticDrConfigurationResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateAutomaticDrConfigurationResponse>
- Enclosing class:
- CreateAutomaticDrConfigurationResponse
public static class CreateAutomaticDrConfigurationResponse.Builder extends Object implements BmcResponse.Builder<CreateAutomaticDrConfigurationResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public CreateAutomaticDrConfigurationResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<CreateAutomaticDrConfigurationResponse>
-
headers
public CreateAutomaticDrConfigurationResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<CreateAutomaticDrConfigurationResponse>
-
location
public CreateAutomaticDrConfigurationResponse.Builder location(String location)
A URI for the new resource which was created by the request.- Parameters:
location- the value to set- Returns:
- this builder
-
etag
public CreateAutomaticDrConfigurationResponse.Builder etag(String etag)
For optimistic concurrency control.For more information, see ETags for Optimistic Concurrency Control.
- Parameters:
etag- the value to set- Returns:
- this builder
-
opcWorkRequestId
public CreateAutomaticDrConfigurationResponse.Builder opcWorkRequestId(String opcWorkRequestId)
Unique Oracle-assigned identifier (OCID) for the asynchronous request.You can use this to query status of the asynchronous operation. Use
getWorkRequestwith this OCID to track the status of the request.- Parameters:
opcWorkRequestId- the value to set- Returns:
- this builder
-
opcRequestId
public CreateAutomaticDrConfigurationResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
automaticDrConfiguration
public CreateAutomaticDrConfigurationResponse.Builder automaticDrConfiguration(AutomaticDrConfiguration automaticDrConfiguration)
The returned AutomaticDrConfiguration instance.- Parameters:
automaticDrConfiguration- the value to set- Returns:
- this builder
-
copy
public CreateAutomaticDrConfigurationResponse.Builder copy(CreateAutomaticDrConfigurationResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<CreateAutomaticDrConfigurationResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateAutomaticDrConfigurationResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<CreateAutomaticDrConfigurationResponse>- Returns:
- the response object
-
-