Class GetDrPlanResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.responses.GetDrPlanResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetDrPlanResponse>
- Enclosing class:
- GetDrPlanResponse
public static class GetDrPlanResponse.Builder extends Object implements BmcResponse.Builder<GetDrPlanResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDrPlanResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
GetDrPlanResponse
build()
Build the response object.GetDrPlanResponse.Builder
copy(GetDrPlanResponse o)
Copy method to populate the builder with values from the given instance.GetDrPlanResponse.Builder
drPlan(DrPlan drPlan)
The returned DrPlan instance.GetDrPlanResponse.Builder
etag(String etag)
For optimistic concurrency control.GetDrPlanResponse.Builder
headers(Map<String,List<String>> headers)
GetDrPlanResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the 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 GetDrPlanResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<GetDrPlanResponse>
-
headers
public GetDrPlanResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<GetDrPlanResponse>
-
etag
public GetDrPlanResponse.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
-
opcRequestId
public GetDrPlanResponse.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
-
drPlan
public GetDrPlanResponse.Builder drPlan(DrPlan drPlan)
The returned DrPlan instance.- Parameters:
drPlan
- the value to set- Returns:
- this builder
-
copy
public GetDrPlanResponse.Builder copy(GetDrPlanResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<GetDrPlanResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetDrPlanResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<GetDrPlanResponse>
- Returns:
- the response object
-
-