public static class GetWorkRequestResponse.Builder extends Object
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 |
etag(String etag)
For optimistic concurrency control.
|
GetWorkRequestResponse.Builder |
isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified.
|
GetWorkRequestResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetWorkRequestResponse.Builder |
retryAfter(Integer 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, or null if
GetWorkRequestResponse.isNotModified() is true. |
public GetWorkRequestResponse.Builder __httpStatusCode__(int __httpStatusCode__)
public GetWorkRequestResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic GetWorkRequestResponse.Builder retryAfter(Integer 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 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.
opcRequestId
- the value to setpublic GetWorkRequestResponse.Builder workRequest(WorkRequest workRequest)
The returned WorkRequest instance, or null if GetWorkRequestResponse.isNotModified()
is true.
workRequest
- the value to setpublic GetWorkRequestResponse.Builder isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified. If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’).
true
- if the object was not modifiedpublic GetWorkRequestResponse.Builder copy(GetWorkRequestResponse o)
Copy method to populate the builder with values from the given instance.
public GetWorkRequestResponse build()
Build the response object.
Copyright © 2016–2022. All rights reserved.