public static class ListSourcesResponse.Builder extends Object implements BmcResponse.Builder<ListSourcesResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListSourcesResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
ListSourcesResponse |
build()
Build the response object.
|
ListSourcesResponse.Builder |
copy(ListSourcesResponse o)
Copy method to populate the builder with values from the given instance.
|
ListSourcesResponse.Builder |
headers(Map<String,List<String>> headers) |
ListSourcesResponse.Builder |
items(List<SourceSummary> items)
A list of com.oracle.bmc.applicationmigration.model.SourceSummary instances.
|
ListSourcesResponse.Builder |
opcNextPage(String opcNextPage)
For list pagination.
|
ListSourcesResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public ListSourcesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<ListSourcesResponse>
public ListSourcesResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<ListSourcesResponse>
public ListSourcesResponse.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 ListSourcesResponse.Builder opcNextPage(String opcNextPage)
For list pagination. When this header appears in the response, additional pages of
results remain. For details about how pagination works, see List
Pagination.
Include this value as the page
parameter for the subsequent GET request to get
the next batch of items.
opcNextPage
- the value to setpublic ListSourcesResponse.Builder items(List<SourceSummary> items)
A list of com.oracle.bmc.applicationmigration.model.SourceSummary instances.
items
- the value to setpublic ListSourcesResponse.Builder copy(ListSourcesResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<ListSourcesResponse>
o
- other request from which to copy valuespublic ListSourcesResponse build()
Build the response object.
build
in interface BmcResponse.Builder<ListSourcesResponse>
Copyright © 2016–2023. All rights reserved.