Class ListWorkRequestErrorsResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.ListWorkRequestErrorsResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListWorkRequestErrorsResponse>
- Enclosing class:
- ListWorkRequestErrorsResponse
public static class ListWorkRequestErrorsResponse.Builder extends Object implements BmcResponse.Builder<ListWorkRequestErrorsResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListWorkRequestErrorsResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListWorkRequestErrorsResponsebuild()Build the response object.ListWorkRequestErrorsResponse.Buildercopy(ListWorkRequestErrorsResponse o)Copy method to populate the builder with values from the given instance.ListWorkRequestErrorsResponse.Builderheaders(Map<String,List<String>> headers)ListWorkRequestErrorsResponse.Builderitems(List<WorkRequestError> items)A list of com.oracle.bmc.objectstorage.model.WorkRequestError instances.ListWorkRequestErrorsResponse.BuilderopcClientRequestId(String opcClientRequestId)Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.ListWorkRequestErrorsResponse.BuilderopcNextPage(String opcNextPage)For paginating a list of work request errors.ListWorkRequestErrorsResponse.BuilderopcRequestId(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 ListWorkRequestErrorsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListWorkRequestErrorsResponse>
-
headers
public ListWorkRequestErrorsResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ListWorkRequestErrorsResponse>
-
opcRequestId
public ListWorkRequestErrorsResponse.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.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
opcNextPage
public ListWorkRequestErrorsResponse.Builder opcNextPage(String opcNextPage)
For paginating a list of work request errors.In the GET request, set the limit to the number of work request errors that you want returned in the response. If the opc-next-page header appears in the response, then this is a partial list and there are additional work request errors to get. Include the header’s value as the page parameter in the subsequent GET request to get the next batch of work request errors. Repeat this process to retrieve the entire list of work request errors.
For more details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
- Parameters:
opcNextPage- the value to set- Returns:
- this builder
-
opcClientRequestId
public ListWorkRequestErrorsResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Parameters:
opcClientRequestId- the value to set- Returns:
- this builder
-
items
public ListWorkRequestErrorsResponse.Builder items(List<WorkRequestError> items)
A list of com.oracle.bmc.objectstorage.model.WorkRequestError instances.- Parameters:
items- the value to set- Returns:
- this builder
-
copy
public ListWorkRequestErrorsResponse.Builder copy(ListWorkRequestErrorsResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ListWorkRequestErrorsResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListWorkRequestErrorsResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ListWorkRequestErrorsResponse>- Returns:
- the response object
-
-