Package com.oracle.bmc.oda.responses
Class ListPackagesResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.responses.ListPackagesResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListPackagesResponse>
- Enclosing class:
- ListPackagesResponse
public static class ListPackagesResponse.Builder extends Object implements BmcResponse.Builder<ListPackagesResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPackagesResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListPackagesResponsebuild()Build the response object.ListPackagesResponse.Buildercopy(ListPackagesResponse o)Copy method to populate the builder with values from the given instance.ListPackagesResponse.Builderheaders(Map<String,List<String>> headers)ListPackagesResponse.Builderitems(List<PackageSummary> items)A list of com.oracle.bmc.oda.model.PackageSummary instances.ListPackagesResponse.BuilderopcNextPage(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.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListPackagesResponse.BuilderopcTotalItems(Integer opcTotalItems)The total number of results that match the query.-
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 ListPackagesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListPackagesResponse>
-
headers
public ListPackagesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ListPackagesResponse>
-
opcRequestId
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.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
opcNextPage
public 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.
- Parameters:
opcNextPage- the value to set- Returns:
- this builder
-
opcTotalItems
public ListPackagesResponse.Builder opcTotalItems(Integer opcTotalItems)
The total number of results that match the query.- Parameters:
opcTotalItems- the value to set- Returns:
- this builder
-
items
public ListPackagesResponse.Builder items(List<PackageSummary> items)
A list of com.oracle.bmc.oda.model.PackageSummary instances.- Parameters:
items- the value to set- Returns:
- this builder
-
copy
public ListPackagesResponse.Builder copy(ListPackagesResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ListPackagesResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPackagesResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ListPackagesResponse>- Returns:
- the response object
-
-