Package com.oracle.bmc.oce.responses
Class ListOceInstancesResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.oce.responses.ListOceInstancesResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListOceInstancesResponse>
- Enclosing class:
- ListOceInstancesResponse
public static class ListOceInstancesResponse.Builder extends Object implements BmcResponse.Builder<ListOceInstancesResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOceInstancesResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
ListOceInstancesResponse
build()
Build the response object.ListOceInstancesResponse.Builder
copy(ListOceInstancesResponse o)
Copy method to populate the builder with values from the given instance.ListOceInstancesResponse.Builder
headers(Map<String,List<String>> headers)
ListOceInstancesResponse.Builder
items(List<OceInstanceSummary> items)
A list of com.oracle.bmc.oce.model.OceInstanceSummary instances.ListOceInstancesResponse.Builder
opcNextPage(String opcNextPage)
For pagination of a list of OceInstances.ListOceInstancesResponse.Builder
opcRequestId(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 ListOceInstancesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<ListOceInstancesResponse>
-
headers
public ListOceInstancesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<ListOceInstancesResponse>
-
opcRequestId
public ListOceInstancesResponse.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 ListOceInstancesResponse.Builder opcNextPage(String opcNextPage)
For pagination of a list of OceInstances.If this header appears in the response, then this is a partial list of OceInstances. Include this value as the page parameter in a subsequent GET request to get the next batch of OceInstances.
- Parameters:
opcNextPage
- the value to set- Returns:
- this builder
-
items
public ListOceInstancesResponse.Builder items(List<OceInstanceSummary> items)
A list of com.oracle.bmc.oce.model.OceInstanceSummary instances.- Parameters:
items
- the value to set- Returns:
- this builder
-
copy
public ListOceInstancesResponse.Builder copy(ListOceInstancesResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<ListOceInstancesResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListOceInstancesResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<ListOceInstancesResponse>
- Returns:
- the response object
-
-