public static class GetWorkRequestResponse.Builder extends Object implements BmcResponse.Builder<GetWorkRequestResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetWorkRequestResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetWorkRequestResponse |
build()
Build the response object.
|
GetWorkRequestResponse.Builder |
copy(GetWorkRequestResponse o)
Copy method to populate the builder with values from the given instance.
|
GetWorkRequestResponse.Builder |
headers(Map<String,List<String>> headers) |
GetWorkRequestResponse.Builder |
opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when
debugging.
|
GetWorkRequestResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetWorkRequestResponse.Builder |
retryAfter(Float retryAfter)
A decimal number representing the number of seconds the client should wait before polling
this endpoint again.
|
GetWorkRequestResponse.Builder |
workRequest(WorkRequest workRequest)
The returned
WorkRequest instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public GetWorkRequestResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<GetWorkRequestResponse>
public GetWorkRequestResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<GetWorkRequestResponse>
public GetWorkRequestResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide this request ID.
opcRequestId
- the value to setpublic GetWorkRequestResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
opcClientRequestId
- the value to setpublic GetWorkRequestResponse.Builder retryAfter(Float retryAfter)
A decimal number representing the number of seconds the client should wait before polling this endpoint again.
retryAfter
- the value to setpublic GetWorkRequestResponse.Builder workRequest(WorkRequest workRequest)
The returned WorkRequest
instance.
workRequest
- the value to setpublic GetWorkRequestResponse.Builder copy(GetWorkRequestResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<GetWorkRequestResponse>
o
- other request from which to copy valuespublic GetWorkRequestResponse build()
Build the response object.
build
in interface BmcResponse.Builder<GetWorkRequestResponse>
Copyright © 2016–2024. All rights reserved.