Class ListPoolsResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.responses.ListPoolsResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListPoolsResponse>
- Enclosing class:
- ListPoolsResponse
public static class ListPoolsResponse.Builder extends Object implements BmcResponse.Builder<ListPoolsResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPoolsResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListPoolsResponsebuild()Build the response object.ListPoolsResponse.Buildercopy(ListPoolsResponse o)Copy method to populate the builder with values from the given instance.ListPoolsResponse.Builderheaders(Map<String,List<String>> headers)ListPoolsResponse.BuilderopcNextPage(String opcNextPage)Retrieves the next page of results.ListPoolsResponse.BuilderopcPrevPage(String opcPrevPage)Retrieves the previous page of results.ListPoolsResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle assigned identifier for the request.ListPoolsResponse.BuilderpoolCollection(PoolCollection poolCollection)The returned PoolCollection 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 ListPoolsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListPoolsResponse>
-
headers
public ListPoolsResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ListPoolsResponse>
-
opcPrevPage
public ListPoolsResponse.Builder opcPrevPage(String opcPrevPage)
Retrieves the previous page of results.When this header appears in the response, previous pages of results exist. See List Pagination.
- Parameters:
opcPrevPage- the value to set- Returns:
- this builder
-
opcNextPage
public ListPoolsResponse.Builder opcNextPage(String opcNextPage)
Retrieves the next page of results.When this header appears in the response, additional pages of results remain. See List Pagination.
- Parameters:
opcNextPage- the value to set- Returns:
- this builder
-
opcRequestId
public ListPoolsResponse.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
-
poolCollection
public ListPoolsResponse.Builder poolCollection(PoolCollection poolCollection)
The returned PoolCollection instance.- Parameters:
poolCollection- the value to set- Returns:
- this builder
-
copy
public ListPoolsResponse.Builder copy(ListPoolsResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ListPoolsResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPoolsResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ListPoolsResponse>- Returns:
- the response object
-
-