@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ComputePaginators extends Object
Collection of helper methods that can be used to provide an Iterable interface to any list operations of Compute where multiple pages of data may be fetched. Two styles of iteration are supported:
These iterables abstract away the need to write code to manually handle pagination via looping and using the page tokens. They will automatically fetch more data from the service when required.
As an example, if we were using the ListUsers operation in IdentityService, then the Iterable returned by calling a ResponseIterator method would iterate over the ListUsersResponse objects returned by each ListUsers call, whereas the Iterable returned by calling a RecordIterator method would iterate over the User records and we don’t have to deal with ListUsersResponse objects at all. In either case, pagination will be automatically handled so we can iterate until there are no more responses or no more resources/records available.
| Constructor and Description |
|---|
ComputePaginators(Compute client) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<AppCatalogListingResourceVersionSummary> |
listAppCatalogListingResourceVersionsRecordIterator(ListAppCatalogListingResourceVersionsRequest request)
Creates a new iterable which will iterate over the
AppCatalogListingResourceVersionSummary objects contained in responses from the listAppCatalogListingResourceVersions operation. |
Iterable<ListAppCatalogListingResourceVersionsResponse> |
listAppCatalogListingResourceVersionsResponseIterator(ListAppCatalogListingResourceVersionsRequest request)
Creates a new iterable which will iterate over the responses received from the listAppCatalogListingResourceVersions operation.
|
Iterable<AppCatalogListingSummary> |
listAppCatalogListingsRecordIterator(ListAppCatalogListingsRequest request)
Creates a new iterable which will iterate over the
AppCatalogListingSummary objects contained in responses from the listAppCatalogListings operation. |
Iterable<ListAppCatalogListingsResponse> |
listAppCatalogListingsResponseIterator(ListAppCatalogListingsRequest request)
Creates a new iterable which will iterate over the responses received from the listAppCatalogListings operation.
|
Iterable<AppCatalogSubscriptionSummary> |
listAppCatalogSubscriptionsRecordIterator(ListAppCatalogSubscriptionsRequest request)
Creates a new iterable which will iterate over the
AppCatalogSubscriptionSummary objects contained in responses from the listAppCatalogSubscriptions operation. |
Iterable<ListAppCatalogSubscriptionsResponse> |
listAppCatalogSubscriptionsResponseIterator(ListAppCatalogSubscriptionsRequest request)
Creates a new iterable which will iterate over the responses received from the listAppCatalogSubscriptions operation.
|
Iterable<BootVolumeAttachment> |
listBootVolumeAttachmentsRecordIterator(ListBootVolumeAttachmentsRequest request)
Creates a new iterable which will iterate over the
BootVolumeAttachment objects contained in responses from the listBootVolumeAttachments operation. |
Iterable<ListBootVolumeAttachmentsResponse> |
listBootVolumeAttachmentsResponseIterator(ListBootVolumeAttachmentsRequest request)
Creates a new iterable which will iterate over the responses received from the listBootVolumeAttachments operation.
|
Iterable<ConsoleHistory> |
listConsoleHistoriesRecordIterator(ListConsoleHistoriesRequest request)
Creates a new iterable which will iterate over the
ConsoleHistory objects contained in responses from the listConsoleHistories operation. |
Iterable<ListConsoleHistoriesResponse> |
listConsoleHistoriesResponseIterator(ListConsoleHistoriesRequest request)
Creates a new iterable which will iterate over the responses received from the listConsoleHistories operation.
|
Iterable<DedicatedVmHostInstanceShapeSummary> |
listDedicatedVmHostInstanceShapesRecordIterator(ListDedicatedVmHostInstanceShapesRequest request)
Creates a new iterable which will iterate over the
DedicatedVmHostInstanceShapeSummary objects contained in responses from the listDedicatedVmHostInstanceShapes operation. |
Iterable<ListDedicatedVmHostInstanceShapesResponse> |
listDedicatedVmHostInstanceShapesResponseIterator(ListDedicatedVmHostInstanceShapesRequest request)
Creates a new iterable which will iterate over the responses received from the listDedicatedVmHostInstanceShapes operation.
|
Iterable<DedicatedVmHostInstanceSummary> |
listDedicatedVmHostInstancesRecordIterator(ListDedicatedVmHostInstancesRequest request)
Creates a new iterable which will iterate over the
DedicatedVmHostInstanceSummary objects contained in responses from the listDedicatedVmHostInstances operation. |
Iterable<ListDedicatedVmHostInstancesResponse> |
listDedicatedVmHostInstancesResponseIterator(ListDedicatedVmHostInstancesRequest request)
Creates a new iterable which will iterate over the responses received from the listDedicatedVmHostInstances operation.
|
Iterable<DedicatedVmHostShapeSummary> |
listDedicatedVmHostShapesRecordIterator(ListDedicatedVmHostShapesRequest request)
Creates a new iterable which will iterate over the
DedicatedVmHostShapeSummary objects contained in responses from the listDedicatedVmHostShapes operation. |
Iterable<ListDedicatedVmHostShapesResponse> |
listDedicatedVmHostShapesResponseIterator(ListDedicatedVmHostShapesRequest request)
Creates a new iterable which will iterate over the responses received from the listDedicatedVmHostShapes operation.
|
Iterable<DedicatedVmHostSummary> |
listDedicatedVmHostsRecordIterator(ListDedicatedVmHostsRequest request)
Creates a new iterable which will iterate over the
DedicatedVmHostSummary objects contained in responses from the listDedicatedVmHosts operation. |
Iterable<ListDedicatedVmHostsResponse> |
listDedicatedVmHostsResponseIterator(ListDedicatedVmHostsRequest request)
Creates a new iterable which will iterate over the responses received from the listDedicatedVmHosts operation.
|
Iterable<Image> |
listImagesRecordIterator(ListImagesRequest request)
Creates a new iterable which will iterate over the
Image objects contained in responses from the listImages operation. |
Iterable<ListImagesResponse> |
listImagesResponseIterator(ListImagesRequest request)
Creates a new iterable which will iterate over the responses received from the listImages operation.
|
Iterable<InstanceConsoleConnection> |
listInstanceConsoleConnectionsRecordIterator(ListInstanceConsoleConnectionsRequest request)
Creates a new iterable which will iterate over the
InstanceConsoleConnection objects contained in responses from the listInstanceConsoleConnections operation. |
Iterable<ListInstanceConsoleConnectionsResponse> |
listInstanceConsoleConnectionsResponseIterator(ListInstanceConsoleConnectionsRequest request)
Creates a new iterable which will iterate over the responses received from the listInstanceConsoleConnections operation.
|
Iterable<Device> |
listInstanceDevicesRecordIterator(ListInstanceDevicesRequest request)
Creates a new iterable which will iterate over the
Device objects contained in responses from the listInstanceDevices operation. |
Iterable<ListInstanceDevicesResponse> |
listInstanceDevicesResponseIterator(ListInstanceDevicesRequest request)
Creates a new iterable which will iterate over the responses received from the listInstanceDevices operation.
|
Iterable<Instance> |
listInstancesRecordIterator(ListInstancesRequest request)
Creates a new iterable which will iterate over the
Instance objects contained in responses from the listInstances operation. |
Iterable<ListInstancesResponse> |
listInstancesResponseIterator(ListInstancesRequest request)
Creates a new iterable which will iterate over the responses received from the listInstances operation.
|
Iterable<Shape> |
listShapesRecordIterator(ListShapesRequest request)
Creates a new iterable which will iterate over the
Shape objects contained in responses from the listShapes operation. |
Iterable<ListShapesResponse> |
listShapesResponseIterator(ListShapesRequest request)
Creates a new iterable which will iterate over the responses received from the listShapes operation.
|
Iterable<VnicAttachment> |
listVnicAttachmentsRecordIterator(ListVnicAttachmentsRequest request)
Creates a new iterable which will iterate over the
VnicAttachment objects contained in responses from the listVnicAttachments operation. |
Iterable<ListVnicAttachmentsResponse> |
listVnicAttachmentsResponseIterator(ListVnicAttachmentsRequest request)
Creates a new iterable which will iterate over the responses received from the listVnicAttachments operation.
|
Iterable<VolumeAttachment> |
listVolumeAttachmentsRecordIterator(ListVolumeAttachmentsRequest request)
Creates a new iterable which will iterate over the
VolumeAttachment objects contained in responses from the listVolumeAttachments operation. |
Iterable<ListVolumeAttachmentsResponse> |
listVolumeAttachmentsResponseIterator(ListVolumeAttachmentsRequest request)
Creates a new iterable which will iterate over the responses received from the listVolumeAttachments operation.
|
@ConstructorProperties(value="client") public ComputePaginators(Compute client)
public Iterable<ListAppCatalogListingResourceVersionsResponse> listAppCatalogListingResourceVersionsResponseIterator(ListAppCatalogListingResourceVersionsRequest request)
Creates a new iterable which will iterate over the responses received from the listAppCatalogListingResourceVersions operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<AppCatalogListingResourceVersionSummary> listAppCatalogListingResourceVersionsRecordIterator(ListAppCatalogListingResourceVersionsRequest request)
Creates a new iterable which will iterate over the AppCatalogListingResourceVersionSummary objects contained in responses from the listAppCatalogListingResourceVersions operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the AppCatalogListingResourceVersionSummary objects contained in responses received from the service.public Iterable<ListAppCatalogListingsResponse> listAppCatalogListingsResponseIterator(ListAppCatalogListingsRequest request)
Creates a new iterable which will iterate over the responses received from the listAppCatalogListings operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<AppCatalogListingSummary> listAppCatalogListingsRecordIterator(ListAppCatalogListingsRequest request)
Creates a new iterable which will iterate over the AppCatalogListingSummary objects contained in responses from the listAppCatalogListings operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the AppCatalogListingSummary objects contained in responses received from the service.public Iterable<ListAppCatalogSubscriptionsResponse> listAppCatalogSubscriptionsResponseIterator(ListAppCatalogSubscriptionsRequest request)
Creates a new iterable which will iterate over the responses received from the listAppCatalogSubscriptions operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<AppCatalogSubscriptionSummary> listAppCatalogSubscriptionsRecordIterator(ListAppCatalogSubscriptionsRequest request)
Creates a new iterable which will iterate over the AppCatalogSubscriptionSummary objects contained in responses from the listAppCatalogSubscriptions operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the AppCatalogSubscriptionSummary objects contained in responses received from the service.public Iterable<ListBootVolumeAttachmentsResponse> listBootVolumeAttachmentsResponseIterator(ListBootVolumeAttachmentsRequest request)
Creates a new iterable which will iterate over the responses received from the listBootVolumeAttachments operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<BootVolumeAttachment> listBootVolumeAttachmentsRecordIterator(ListBootVolumeAttachmentsRequest request)
Creates a new iterable which will iterate over the BootVolumeAttachment objects contained in responses from the listBootVolumeAttachments operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the BootVolumeAttachment objects contained in responses received from the service.public Iterable<ListConsoleHistoriesResponse> listConsoleHistoriesResponseIterator(ListConsoleHistoriesRequest request)
Creates a new iterable which will iterate over the responses received from the listConsoleHistories operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<ConsoleHistory> listConsoleHistoriesRecordIterator(ListConsoleHistoriesRequest request)
Creates a new iterable which will iterate over the ConsoleHistory objects contained in responses from the listConsoleHistories operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the ConsoleHistory objects contained in responses received from the service.public Iterable<ListDedicatedVmHostInstanceShapesResponse> listDedicatedVmHostInstanceShapesResponseIterator(ListDedicatedVmHostInstanceShapesRequest request)
Creates a new iterable which will iterate over the responses received from the listDedicatedVmHostInstanceShapes operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<DedicatedVmHostInstanceShapeSummary> listDedicatedVmHostInstanceShapesRecordIterator(ListDedicatedVmHostInstanceShapesRequest request)
Creates a new iterable which will iterate over the DedicatedVmHostInstanceShapeSummary objects contained in responses from the listDedicatedVmHostInstanceShapes operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the DedicatedVmHostInstanceShapeSummary objects contained in responses received from the service.public Iterable<ListDedicatedVmHostInstancesResponse> listDedicatedVmHostInstancesResponseIterator(ListDedicatedVmHostInstancesRequest request)
Creates a new iterable which will iterate over the responses received from the listDedicatedVmHostInstances operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<DedicatedVmHostInstanceSummary> listDedicatedVmHostInstancesRecordIterator(ListDedicatedVmHostInstancesRequest request)
Creates a new iterable which will iterate over the DedicatedVmHostInstanceSummary objects contained in responses from the listDedicatedVmHostInstances operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the DedicatedVmHostInstanceSummary objects contained in responses received from the service.public Iterable<ListDedicatedVmHostShapesResponse> listDedicatedVmHostShapesResponseIterator(ListDedicatedVmHostShapesRequest request)
Creates a new iterable which will iterate over the responses received from the listDedicatedVmHostShapes operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<DedicatedVmHostShapeSummary> listDedicatedVmHostShapesRecordIterator(ListDedicatedVmHostShapesRequest request)
Creates a new iterable which will iterate over the DedicatedVmHostShapeSummary objects contained in responses from the listDedicatedVmHostShapes operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the DedicatedVmHostShapeSummary objects contained in responses received from the service.public Iterable<ListDedicatedVmHostsResponse> listDedicatedVmHostsResponseIterator(ListDedicatedVmHostsRequest request)
Creates a new iterable which will iterate over the responses received from the listDedicatedVmHosts operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<DedicatedVmHostSummary> listDedicatedVmHostsRecordIterator(ListDedicatedVmHostsRequest request)
Creates a new iterable which will iterate over the DedicatedVmHostSummary objects contained in responses from the listDedicatedVmHosts operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the DedicatedVmHostSummary objects contained in responses received from the service.public Iterable<ListImagesResponse> listImagesResponseIterator(ListImagesRequest request)
Creates a new iterable which will iterate over the responses received from the listImages operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<Image> listImagesRecordIterator(ListImagesRequest request)
Creates a new iterable which will iterate over the Image objects contained in responses from the listImages operation. This iterable will fetch more data from the server as needed.
public Iterable<ListInstanceConsoleConnectionsResponse> listInstanceConsoleConnectionsResponseIterator(ListInstanceConsoleConnectionsRequest request)
Creates a new iterable which will iterate over the responses received from the listInstanceConsoleConnections operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<InstanceConsoleConnection> listInstanceConsoleConnectionsRecordIterator(ListInstanceConsoleConnectionsRequest request)
Creates a new iterable which will iterate over the InstanceConsoleConnection objects contained in responses from the listInstanceConsoleConnections operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the InstanceConsoleConnection objects contained in responses received from the service.public Iterable<ListInstanceDevicesResponse> listInstanceDevicesResponseIterator(ListInstanceDevicesRequest request)
Creates a new iterable which will iterate over the responses received from the listInstanceDevices operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<Device> listInstanceDevicesRecordIterator(ListInstanceDevicesRequest request)
Creates a new iterable which will iterate over the Device objects contained in responses from the listInstanceDevices operation. This iterable will fetch more data from the server as needed.
public Iterable<ListInstancesResponse> listInstancesResponseIterator(ListInstancesRequest request)
Creates a new iterable which will iterate over the responses received from the listInstances operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<Instance> listInstancesRecordIterator(ListInstancesRequest request)
Creates a new iterable which will iterate over the Instance objects contained in responses from the listInstances operation. This iterable will fetch more data from the server as needed.
public Iterable<ListShapesResponse> listShapesResponseIterator(ListShapesRequest request)
Creates a new iterable which will iterate over the responses received from the listShapes operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<Shape> listShapesRecordIterator(ListShapesRequest request)
Creates a new iterable which will iterate over the Shape objects contained in responses from the listShapes operation. This iterable will fetch more data from the server as needed.
public Iterable<ListVnicAttachmentsResponse> listVnicAttachmentsResponseIterator(ListVnicAttachmentsRequest request)
Creates a new iterable which will iterate over the responses received from the listVnicAttachments operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<VnicAttachment> listVnicAttachmentsRecordIterator(ListVnicAttachmentsRequest request)
Creates a new iterable which will iterate over the VnicAttachment objects contained in responses from the listVnicAttachments operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the VnicAttachment objects contained in responses received from the service.public Iterable<ListVolumeAttachmentsResponse> listVolumeAttachmentsResponseIterator(ListVolumeAttachmentsRequest request)
Creates a new iterable which will iterate over the responses received from the listVolumeAttachments operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the responses received from the service.public Iterable<VolumeAttachment> listVolumeAttachmentsRecordIterator(ListVolumeAttachmentsRequest request)
Creates a new iterable which will iterate over the VolumeAttachment objects contained in responses from the listVolumeAttachments operation. This iterable will fetch more data from the server as needed.
request - a request which can be sent to the service operationIterable which can be used to iterate over the VolumeAttachment objects contained in responses received from the service.Copyright © 2016–2019. All rights reserved.