Package com.oracle.bmc.datacc.responses
Class GetMaintenanceExecutionResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.responses.GetMaintenanceExecutionResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetMaintenanceExecutionResponse>
- Enclosing class:
- GetMaintenanceExecutionResponse
public static class GetMaintenanceExecutionResponse.Builder extends Object implements BmcResponse.Builder<GetMaintenanceExecutionResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetMaintenanceExecutionResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetMaintenanceExecutionResponsebuild()Build the response object.GetMaintenanceExecutionResponse.Buildercopy(GetMaintenanceExecutionResponse o)Copy method to populate the builder with values from the given instance.GetMaintenanceExecutionResponse.Builderetag(String etag)For Optimistic concurrency control.GetMaintenanceExecutionResponse.Builderheaders(Map<String,List<String>> headers)GetMaintenanceExecutionResponse.Builderlocation(String location)The full URI of the resource.GetMaintenanceExecutionResponse.BuildermaintenanceExecution(MaintenanceExecution maintenanceExecution)The returned MaintenanceExecution instance.GetMaintenanceExecutionResponse.BuilderopcRequestId(String opcRequestId)Unique identifier assigned by Oracle 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 GetMaintenanceExecutionResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<GetMaintenanceExecutionResponse>
-
headers
public GetMaintenanceExecutionResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<GetMaintenanceExecutionResponse>
-
opcRequestId
public GetMaintenanceExecutionResponse.Builder opcRequestId(String opcRequestId)
Unique identifier assigned by Oracle for the request.If you need to contact Oracle about a particular request, then please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
etag
public GetMaintenanceExecutionResponse.Builder etag(String etag)
For Optimistic concurrency control.See the if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
location
public GetMaintenanceExecutionResponse.Builder location(String location)
The full URI of the resource.- Parameters:
location- the value to set- Returns:
- this builder
-
maintenanceExecution
public GetMaintenanceExecutionResponse.Builder maintenanceExecution(MaintenanceExecution maintenanceExecution)
The returned MaintenanceExecution instance.- Parameters:
maintenanceExecution- the value to set- Returns:
- this builder
-
copy
public GetMaintenanceExecutionResponse.Builder copy(GetMaintenanceExecutionResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<GetMaintenanceExecutionResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetMaintenanceExecutionResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<GetMaintenanceExecutionResponse>- Returns:
- the response object
-
-