Package com.oracle.bmc.datacc.responses
Class ListVmInstancesResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.responses.ListVmInstancesResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListVmInstancesResponse>
- Enclosing class:
- ListVmInstancesResponse
public static class ListVmInstancesResponse.Builder extends Object implements BmcResponse.Builder<ListVmInstancesResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListVmInstancesResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListVmInstancesResponsebuild()Build the response object.ListVmInstancesResponse.Buildercopy(ListVmInstancesResponse o)Copy method to populate the builder with values from the given instance.ListVmInstancesResponse.Builderheaders(Map<String,List<String>> headers)ListVmInstancesResponse.BuilderopcNextPage(String opcNextPage)For pagination of a list of items.ListVmInstancesResponse.BuilderopcRequestId(String opcRequestId)Unique identifier assigned by Oracle for the request.ListVmInstancesResponse.BuildervmInstanceCollection(VmInstanceCollection vmInstanceCollection)The returned VmInstanceCollection 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 ListVmInstancesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListVmInstancesResponse>
-
headers
public ListVmInstancesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ListVmInstancesResponse>
-
opcRequestId
public ListVmInstancesResponse.Builder opcRequestId(String opcRequestId)
Unique identifier assigned by Oracle for the request.If you need to contact Oracle about a particular request, then please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
opcNextPage
public ListVmInstancesResponse.Builder opcNextPage(String opcNextPage)
For pagination of a list of items.When paging through a list, if this header appears in the response, then it can mean that a partial list was returned. To obtain the next batch of items, include this value as the page parameter for your next GET request.
- Parameters:
opcNextPage- the value to set- Returns:
- this builder
-
vmInstanceCollection
public ListVmInstancesResponse.Builder vmInstanceCollection(VmInstanceCollection vmInstanceCollection)
The returned VmInstanceCollection instance.- Parameters:
vmInstanceCollection- the value to set- Returns:
- this builder
-
copy
public ListVmInstancesResponse.Builder copy(ListVmInstancesResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ListVmInstancesResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListVmInstancesResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ListVmInstancesResponse>- Returns:
- the response object
-
-