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__)ListOceInstancesResponsebuild()Build the response object.ListOceInstancesResponse.Buildercopy(ListOceInstancesResponse o)Copy method to populate the builder with values from the given instance.ListOceInstancesResponse.Builderheaders(Map<String,List<String>> headers)ListOceInstancesResponse.Builderitems(List<OceInstanceSummary> items)A list of com.oracle.bmc.oce.model.OceInstanceSummary instances.ListOceInstancesResponse.BuilderopcNextPage(String opcNextPage)For pagination of a list of OceInstances.ListOceInstancesResponse.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 ListOceInstancesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListOceInstancesResponse>
-
headers
public ListOceInstancesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin 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:
copyin 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:
buildin interfaceBmcResponse.Builder<ListOceInstancesResponse>- Returns:
- the response object
-
-