Class CreateDrProtectionGroupResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.responses.CreateDrProtectionGroupResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<CreateDrProtectionGroupResponse>
 - Enclosing class:
- CreateDrProtectionGroupResponse
 
 public static class CreateDrProtectionGroupResponse.Builder extends Object implements BmcResponse.Builder<CreateDrProtectionGroupResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public CreateDrProtectionGroupResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<CreateDrProtectionGroupResponse>
 
 - 
headerspublic CreateDrProtectionGroupResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<CreateDrProtectionGroupResponse>
 
 - 
locationpublic CreateDrProtectionGroupResponse.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
 
 - 
etagpublic CreateDrProtectionGroupResponse.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
 
 - 
opcWorkRequestIdpublic CreateDrProtectionGroupResponse.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
 
 - 
opcRequestIdpublic CreateDrProtectionGroupResponse.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
 
 - 
drProtectionGrouppublic CreateDrProtectionGroupResponse.Builder drProtectionGroup(DrProtectionGroup drProtectionGroup) The returned DrProtectionGroup instance.- Parameters:
- drProtectionGroup- the value to set
- Returns:
- this builder
 
 - 
copypublic CreateDrProtectionGroupResponse.Builder copy(CreateDrProtectionGroupResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<CreateDrProtectionGroupResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateDrProtectionGroupResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<CreateDrProtectionGroupResponse>
- Returns:
- the response object
 
 
- 
 
-