Class ListJobsResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.responses.ListJobsResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListJobsResponse>
- Enclosing class:
- ListJobsResponse
public static class ListJobsResponse.Builder extends Object implements BmcResponse.Builder<ListJobsResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListJobsResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListJobsResponsebuild()Build the response object.ListJobsResponse.Buildercopy(ListJobsResponse o)Copy method to populate the builder with values from the given instance.ListJobsResponse.Builderheaders(Map<String,List<String>> headers)ListJobsResponse.Builderitems(List<JobSummary> items)A list of com.oracle.bmc.resourcemanager.model.JobSummary instances.ListJobsResponse.BuilderopcNextPage(String opcNextPage)Retrieves the next page of paginated list items.ListJobsResponse.BuilderopcRequestId(String opcRequestId)Unique 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 ListJobsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListJobsResponse>
-
headers
public ListJobsResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ListJobsResponse>
-
opcRequestId
public ListJobsResponse.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
opcNextPage
public ListJobsResponse.Builder opcNextPage(String opcNextPage)
Retrieves the next page of paginated list items.If the opc-next-page header appears in the response, additional pages of results remain. To receive the next page, include the header value in the page param. If the opc-next-page header does not appear in the response, there are no more list items to get. For more information about list pagination, see List Pagination.
- Parameters:
opcNextPage- the value to set- Returns:
- this builder
-
items
public ListJobsResponse.Builder items(List<JobSummary> items)
A list of com.oracle.bmc.resourcemanager.model.JobSummary instances.- Parameters:
items- the value to set- Returns:
- this builder
-
copy
public ListJobsResponse.Builder copy(ListJobsResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ListJobsResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListJobsResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ListJobsResponse>- Returns:
- the response object
-
-