Class ListProjectsResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.responses.ListProjectsResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListProjectsResponse>
- Enclosing class:
- ListProjectsResponse
public static class ListProjectsResponse.Builder extends Object implements BmcResponse.Builder<ListProjectsResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListProjectsResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListProjectsResponsebuild()Build the response object.ListProjectsResponse.Buildercopy(ListProjectsResponse o)Copy method to populate the builder with values from the given instance.ListProjectsResponse.Builderheaders(Map<String,List<String>> headers)ListProjectsResponse.Builderitems(List<ProjectSummary> items)A list of com.oracle.bmc.datascience.model.ProjectSummary instances.ListProjectsResponse.BuilderopcNextPage(String opcNextPage)Retrieves the next page of results.ListProjectsResponse.BuilderopcPrevPage(String opcPrevPage)Retrieves the previous page of results.ListProjectsResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle assigned identifier for the request.-
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 ListProjectsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListProjectsResponse>
-
headers
public ListProjectsResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ListProjectsResponse>
-
opcNextPage
public ListProjectsResponse.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
-
opcPrevPage
public ListProjectsResponse.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
-
opcRequestId
public ListProjectsResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle assigned identifier for the request.If you need to contact Oracle about a particular request, then provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
items
public ListProjectsResponse.Builder items(List<ProjectSummary> items)
A list of com.oracle.bmc.datascience.model.ProjectSummary instances.- Parameters:
items- the value to set- Returns:
- this builder
-
copy
public ListProjectsResponse.Builder copy(ListProjectsResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ListProjectsResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListProjectsResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ListProjectsResponse>- Returns:
- the response object
-
-