Package com.oracle.bmc.mysql.responses
Class GetWorkRequestResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.responses.GetWorkRequestResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<GetWorkRequestResponse>
 - Enclosing class:
- GetWorkRequestResponse
 
 public static class GetWorkRequestResponse.Builder extends Object implements BmcResponse.Builder<GetWorkRequestResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetWorkRequestResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetWorkRequestResponsebuild()Build the response object.GetWorkRequestResponse.Buildercopy(GetWorkRequestResponse o)Copy method to populate the builder with values from the given instance.GetWorkRequestResponse.Builderetag(String etag)For optimistic concurrency control.GetWorkRequestResponse.Builderheaders(Map<String,List<String>> headers)GetWorkRequestResponse.BuilderisNotModified(boolean isNotModified)Flag to indicate whether or not the object was modified.GetWorkRequestResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetWorkRequestResponse.BuilderretryAfter(Integer retryAfter)A decimal number representing the number of seconds the client should wait before polling this endpoint again.GetWorkRequestResponse.BuilderworkRequest(WorkRequest workRequest)The returned WorkRequest instance, or null ifGetWorkRequestResponse.isNotModified()is true.
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public GetWorkRequestResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<GetWorkRequestResponse>
 
 - 
headerspublic GetWorkRequestResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<GetWorkRequestResponse>
 
 - 
etagpublic GetWorkRequestResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
retryAfterpublic GetWorkRequestResponse.Builder retryAfter(Integer retryAfter) A decimal number representing the number of seconds the client should wait before polling this endpoint again.- Parameters:
- retryAfter- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic 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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
workRequestpublic GetWorkRequestResponse.Builder workRequest(WorkRequest workRequest) The returned WorkRequest instance, or null ifGetWorkRequestResponse.isNotModified()is true.- Parameters:
- workRequest- the value to set
- Returns:
- this builder
 
 - 
isNotModifiedpublic 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’). - Specified by:
- isNotModifiedin interface- BmcResponse.Builder<GetWorkRequestResponse>
- Parameters:
- true- if the object was not modified
 
 - 
copypublic GetWorkRequestResponse.Builder copy(GetWorkRequestResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<GetWorkRequestResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetWorkRequestResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<GetWorkRequestResponse>
- Returns:
- the response object
 
 
- 
 
-