Class CreateDrPlanExecutionResponse.Builder
- java.lang.Object
 - 
- com.oracle.bmc.disasterrecovery.responses.CreateDrPlanExecutionResponse.Builder
 
 
- 
- All Implemented Interfaces:
 BmcResponse.Builder<CreateDrPlanExecutionResponse>
- Enclosing class:
 - CreateDrPlanExecutionResponse
 
public static class CreateDrPlanExecutionResponse.Builder extends Object implements BmcResponse.Builder<CreateDrPlanExecutionResponse>
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDrPlanExecutionResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateDrPlanExecutionResponsebuild()Build the response object.CreateDrPlanExecutionResponse.Buildercopy(CreateDrPlanExecutionResponse o)Copy method to populate the builder with values from the given instance.CreateDrPlanExecutionResponse.BuilderdrPlanExecution(DrPlanExecution drPlanExecution)The returned DrPlanExecution instance.CreateDrPlanExecutionResponse.Builderetag(String etag)For optimistic concurrency control.CreateDrPlanExecutionResponse.Builderheaders(Map<String,List<String>> headers)CreateDrPlanExecutionResponse.Builderlocation(String location)A URI for the new resource which was created by the request.CreateDrPlanExecutionResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateDrPlanExecutionResponse.BuilderopcWorkRequestId(String opcWorkRequestId)Unique Oracle-assigned identifier (OCID) for the asynchronous request.- 
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 CreateDrPlanExecutionResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
 __httpStatusCode__in interfaceBmcResponse.Builder<CreateDrPlanExecutionResponse>
 
- 
headers
public CreateDrPlanExecutionResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
 headersin interfaceBmcResponse.Builder<CreateDrPlanExecutionResponse>
 
- 
location
public CreateDrPlanExecutionResponse.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 CreateDrPlanExecutionResponse.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 CreateDrPlanExecutionResponse.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 CreateDrPlanExecutionResponse.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
 
 
- 
drPlanExecution
public CreateDrPlanExecutionResponse.Builder drPlanExecution(DrPlanExecution drPlanExecution)
The returned DrPlanExecution instance.- Parameters:
 drPlanExecution- the value to set- Returns:
 - this builder
 
 
- 
copy
public CreateDrPlanExecutionResponse.Builder copy(CreateDrPlanExecutionResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
 copyin interfaceBmcResponse.Builder<CreateDrPlanExecutionResponse>- Parameters:
 o- other request from which to copy values- Returns:
 - this builder instance
 
 
- 
build
public CreateDrPlanExecutionResponse build()
Build the response object.- Specified by:
 buildin interfaceBmcResponse.Builder<CreateDrPlanExecutionResponse>- Returns:
 - the response object
 
 
 - 
 
 -