Class SearchResourcesResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcesearch.responses.SearchResourcesResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<SearchResourcesResponse>
- Enclosing class:
- SearchResourcesResponse
public static class SearchResourcesResponse.Builder extends Object implements BmcResponse.Builder<SearchResourcesResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchResourcesResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
SearchResourcesResponse
build()
Build the response object.SearchResourcesResponse.Builder
copy(SearchResourcesResponse o)
Copy method to populate the builder with values from the given instance.SearchResourcesResponse.Builder
headers(Map<String,List<String>> headers)
SearchResourcesResponse.Builder
opcNextPage(String opcNextPage)
For pagination of a list of items.SearchResourcesResponse.Builder
opcPreviousPage(String opcPreviousPage)
For pagination of a list of items.SearchResourcesResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.SearchResourcesResponse.Builder
resourceSummaryCollection(ResourceSummaryCollection resourceSummaryCollection)
The returned ResourceSummaryCollection instance.-
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 SearchResourcesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<SearchResourcesResponse>
-
headers
public SearchResourcesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<SearchResourcesResponse>
-
opcNextPage
public SearchResourcesResponse.Builder opcNextPage(String opcNextPage)
For pagination of a list of items.When paging through a list, if this header appears in the response, then there are additional items still to get. Include this value as the page parameter for the subsequent GET request. For information about pagination, see ListPagination.
- Parameters:
opcNextPage
- the value to set- Returns:
- this builder
-
opcPreviousPage
public SearchResourcesResponse.Builder opcPreviousPage(String opcPreviousPage)
For pagination of a list of items.When paging through a list, if this header appears in the response, then there are additional items in previous pages to get. Include this value as the page parameter for the subsequent GET request. The absence of this header indicates that you have reached the first page of the list. For more information, see ListPagination.
- Parameters:
opcPreviousPage
- the value to set- Returns:
- this builder
-
opcRequestId
public SearchResourcesResponse.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
-
resourceSummaryCollection
public SearchResourcesResponse.Builder resourceSummaryCollection(ResourceSummaryCollection resourceSummaryCollection)
The returned ResourceSummaryCollection instance.- Parameters:
resourceSummaryCollection
- the value to set- Returns:
- this builder
-
copy
public SearchResourcesResponse.Builder copy(SearchResourcesResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<SearchResourcesResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public SearchResourcesResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<SearchResourcesResponse>
- Returns:
- the response object
-
-