public static class ListPackagesResponse.Builder extends Object implements BmcResponse.Builder<ListPackagesResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListPackagesResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
ListPackagesResponse |
build()
Build the response object.
|
ListPackagesResponse.Builder |
copy(ListPackagesResponse o)
Copy method to populate the builder with values from the given instance.
|
ListPackagesResponse.Builder |
headers(Map<String,List<String>> headers) |
ListPackagesResponse.Builder |
items(List<PackageSummary> items)
A list of
com.oracle.bmc.oda.model.PackageSummary instances. |
ListPackagesResponse.Builder |
opcNextPage(String opcNextPage)
When you are paging through a list, if this header appears in the response, then there
might be additional items still to get.
|
ListPackagesResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListPackagesResponse.Builder |
opcTotalItems(Integer opcTotalItems)
The total number of results that match the query.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public ListPackagesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<ListPackagesResponse>
public ListPackagesResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<ListPackagesResponse>
public ListPackagesResponse.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 ListPackagesResponse.Builder opcNextPage(String opcNextPage)
When you are paging through a list, if this header appears in the response, then there
might be additional items still to get. Include this value as the page
query
parameter for the subsequent GET request.
opcNextPage
- the value to setpublic ListPackagesResponse.Builder opcTotalItems(Integer opcTotalItems)
The total number of results that match the query.
opcTotalItems
- the value to setpublic ListPackagesResponse.Builder items(List<PackageSummary> items)
A list of com.oracle.bmc.oda.model.PackageSummary
instances.
items
- the value to setpublic ListPackagesResponse.Builder copy(ListPackagesResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<ListPackagesResponse>
o
- other request from which to copy valuespublic ListPackagesResponse build()
Build the response object.
build
in interface BmcResponse.Builder<ListPackagesResponse>
Copyright © 2016–2024. All rights reserved.