@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public class CapacityManagementPaginators extends Object
Collection of helper methods that can be used to provide an Iterable
interface
to any list operations of CapacityManagement 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 |
---|
CapacityManagementPaginators(CapacityManagement client) |
Modifier and Type | Method and Description |
---|---|
Iterable<OccOverviewSummary> |
listInternalNamespaceOccOverviewsRecordIterator(ListInternalNamespaceOccOverviewsRequest request)
Creates a new iterable which will iterate over the
OccOverviewSummary objects contained in responses
from the listInternalNamespaceOccOverviews operation. |
Iterable<ListInternalNamespaceOccOverviewsResponse> |
listInternalNamespaceOccOverviewsResponseIterator(ListInternalNamespaceOccOverviewsRequest request)
Creates a new iterable which will iterate over the responses received from the
listInternalNamespaceOccOverviews operation.
|
Iterable<OccHandoverResourceBlockDetailSummary> |
listInternalOccHandoverResourceBlockDetailsRecordIterator(ListInternalOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over the
OccHandoverResourceBlockDetailSummary objects
contained in responses from the listInternalOccHandoverResourceBlockDetails operation. |
Iterable<ListInternalOccHandoverResourceBlockDetailsResponse> |
listInternalOccHandoverResourceBlockDetailsResponseIterator(ListInternalOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over the responses received from the
listInternalOccHandoverResourceBlockDetails operation.
|
Iterable<OccHandoverResourceBlockSummary> |
listInternalOccHandoverResourceBlocksRecordIterator(ListInternalOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over the
OccHandoverResourceBlockSummary objects contained in
responses from the listInternalOccHandoverResourceBlocks operation. |
Iterable<ListInternalOccHandoverResourceBlocksResponse> |
listInternalOccHandoverResourceBlocksResponseIterator(ListInternalOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over the responses received from the
listInternalOccHandoverResourceBlocks operation.
|
Iterable<OccAvailabilitySummary> |
listOccAvailabilitiesRecordIterator(ListOccAvailabilitiesRequest request)
Creates a new iterable which will iterate over the
OccAvailabilitySummary objects contained in
responses from the listOccAvailabilities operation. |
Iterable<ListOccAvailabilitiesResponse> |
listOccAvailabilitiesResponseIterator(ListOccAvailabilitiesRequest request)
Creates a new iterable which will iterate over the responses received from the
listOccAvailabilities operation.
|
Iterable<OccAvailabilityCatalogSummary> |
listOccAvailabilityCatalogsInternalRecordIterator(ListOccAvailabilityCatalogsInternalRequest request)
Creates a new iterable which will iterate over the
OccAvailabilityCatalogSummary objects contained in
responses from the listOccAvailabilityCatalogsInternal operation. |
Iterable<ListOccAvailabilityCatalogsInternalResponse> |
listOccAvailabilityCatalogsInternalResponseIterator(ListOccAvailabilityCatalogsInternalRequest request)
Creates a new iterable which will iterate over the responses received from the
listOccAvailabilityCatalogsInternal operation.
|
Iterable<OccAvailabilityCatalogSummary> |
listOccAvailabilityCatalogsRecordIterator(ListOccAvailabilityCatalogsRequest request)
Creates a new iterable which will iterate over the
OccAvailabilityCatalogSummary objects contained in
responses from the listOccAvailabilityCatalogs operation. |
Iterable<ListOccAvailabilityCatalogsResponse> |
listOccAvailabilityCatalogsResponseIterator(ListOccAvailabilityCatalogsRequest request)
Creates a new iterable which will iterate over the responses received from the
listOccAvailabilityCatalogs operation.
|
Iterable<OccCapacityRequestSummary> |
listOccCapacityRequestsInternalRecordIterator(ListOccCapacityRequestsInternalRequest request)
Creates a new iterable which will iterate over the
OccCapacityRequestSummary objects contained in
responses from the listOccCapacityRequestsInternal operation. |
Iterable<ListOccCapacityRequestsInternalResponse> |
listOccCapacityRequestsInternalResponseIterator(ListOccCapacityRequestsInternalRequest request)
Creates a new iterable which will iterate over the responses received from the
listOccCapacityRequestsInternal operation.
|
Iterable<OccCapacityRequestSummary> |
listOccCapacityRequestsRecordIterator(ListOccCapacityRequestsRequest request)
Creates a new iterable which will iterate over the
OccCapacityRequestSummary objects contained in
responses from the listOccCapacityRequests operation. |
Iterable<ListOccCapacityRequestsResponse> |
listOccCapacityRequestsResponseIterator(ListOccCapacityRequestsRequest request)
Creates a new iterable which will iterate over the responses received from the
listOccCapacityRequests operation.
|
Iterable<OccCustomerGroupSummary> |
listOccCustomerGroupsRecordIterator(ListOccCustomerGroupsRequest request)
Creates a new iterable which will iterate over the
OccCustomerGroupSummary objects contained in
responses from the listOccCustomerGroups operation. |
Iterable<ListOccCustomerGroupsResponse> |
listOccCustomerGroupsResponseIterator(ListOccCustomerGroupsRequest request)
Creates a new iterable which will iterate over the responses received from the
listOccCustomerGroups operation.
|
Iterable<OccHandoverResourceBlockDetailSummary> |
listOccHandoverResourceBlockDetailsRecordIterator(ListOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over the
OccHandoverResourceBlockDetailSummary objects
contained in responses from the listOccHandoverResourceBlockDetails operation. |
Iterable<ListOccHandoverResourceBlockDetailsResponse> |
listOccHandoverResourceBlockDetailsResponseIterator(ListOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over the responses received from the
listOccHandoverResourceBlockDetails operation.
|
Iterable<OccHandoverResourceBlockSummary> |
listOccHandoverResourceBlocksRecordIterator(ListOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over the
OccHandoverResourceBlockSummary objects contained in
responses from the listOccHandoverResourceBlocks operation. |
Iterable<ListOccHandoverResourceBlocksResponse> |
listOccHandoverResourceBlocksResponseIterator(ListOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over the responses received from the
listOccHandoverResourceBlocks operation.
|
Iterable<OccOverviewSummary> |
listOccOverviewsRecordIterator(ListOccOverviewsRequest request)
Creates a new iterable which will iterate over the
OccOverviewSummary objects contained in responses
from the listOccOverviews operation. |
Iterable<ListOccOverviewsResponse> |
listOccOverviewsResponseIterator(ListOccOverviewsRequest request)
Creates a new iterable which will iterate over the responses received from the
listOccOverviews operation.
|
public CapacityManagementPaginators(CapacityManagement client)
public Iterable<ListInternalNamespaceOccOverviewsResponse> listInternalNamespaceOccOverviewsResponseIterator(ListInternalNamespaceOccOverviewsRequest request)
Creates a new iterable which will iterate over the responses received from the listInternalNamespaceOccOverviews 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<OccOverviewSummary> listInternalNamespaceOccOverviewsRecordIterator(ListInternalNamespaceOccOverviewsRequest request)
Creates a new iterable which will iterate over the OccOverviewSummary
objects contained in responses
from the listInternalNamespaceOccOverviews 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 OccOverviewSummary
objects contained in
responses received from the service.public Iterable<ListInternalOccHandoverResourceBlockDetailsResponse> listInternalOccHandoverResourceBlockDetailsResponseIterator(ListInternalOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over the responses received from the listInternalOccHandoverResourceBlockDetails 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<OccHandoverResourceBlockDetailSummary> listInternalOccHandoverResourceBlockDetailsRecordIterator(ListInternalOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over the OccHandoverResourceBlockDetailSummary
objects
contained in responses from the listInternalOccHandoverResourceBlockDetails 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 OccHandoverResourceBlockDetailSummary
objects
contained in responses received from the service.public Iterable<ListInternalOccHandoverResourceBlocksResponse> listInternalOccHandoverResourceBlocksResponseIterator(ListInternalOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over the responses received from the listInternalOccHandoverResourceBlocks 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<OccHandoverResourceBlockSummary> listInternalOccHandoverResourceBlocksRecordIterator(ListInternalOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over the OccHandoverResourceBlockSummary
objects contained in
responses from the listInternalOccHandoverResourceBlocks 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 OccHandoverResourceBlockSummary
objects
contained in responses received from the service.public Iterable<ListOccAvailabilitiesResponse> listOccAvailabilitiesResponseIterator(ListOccAvailabilitiesRequest request)
Creates a new iterable which will iterate over the responses received from the listOccAvailabilities 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<OccAvailabilitySummary> listOccAvailabilitiesRecordIterator(ListOccAvailabilitiesRequest request)
Creates a new iterable which will iterate over the OccAvailabilitySummary
objects contained in
responses from the listOccAvailabilities 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 OccAvailabilitySummary
objects contained in
responses received from the service.public Iterable<ListOccAvailabilityCatalogsResponse> listOccAvailabilityCatalogsResponseIterator(ListOccAvailabilityCatalogsRequest request)
Creates a new iterable which will iterate over the responses received from the listOccAvailabilityCatalogs 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<OccAvailabilityCatalogSummary> listOccAvailabilityCatalogsRecordIterator(ListOccAvailabilityCatalogsRequest request)
Creates a new iterable which will iterate over the OccAvailabilityCatalogSummary
objects contained in
responses from the listOccAvailabilityCatalogs 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 OccAvailabilityCatalogSummary
objects contained
in responses received from the service.public Iterable<ListOccAvailabilityCatalogsInternalResponse> listOccAvailabilityCatalogsInternalResponseIterator(ListOccAvailabilityCatalogsInternalRequest request)
Creates a new iterable which will iterate over the responses received from the listOccAvailabilityCatalogsInternal 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<OccAvailabilityCatalogSummary> listOccAvailabilityCatalogsInternalRecordIterator(ListOccAvailabilityCatalogsInternalRequest request)
Creates a new iterable which will iterate over the OccAvailabilityCatalogSummary
objects contained in
responses from the listOccAvailabilityCatalogsInternal 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 OccAvailabilityCatalogSummary
objects contained
in responses received from the service.public Iterable<ListOccCapacityRequestsResponse> listOccCapacityRequestsResponseIterator(ListOccCapacityRequestsRequest request)
Creates a new iterable which will iterate over the responses received from the listOccCapacityRequests 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<OccCapacityRequestSummary> listOccCapacityRequestsRecordIterator(ListOccCapacityRequestsRequest request)
Creates a new iterable which will iterate over the OccCapacityRequestSummary
objects contained in
responses from the listOccCapacityRequests 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 OccCapacityRequestSummary
objects contained in
responses received from the service.public Iterable<ListOccCapacityRequestsInternalResponse> listOccCapacityRequestsInternalResponseIterator(ListOccCapacityRequestsInternalRequest request)
Creates a new iterable which will iterate over the responses received from the listOccCapacityRequestsInternal 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<OccCapacityRequestSummary> listOccCapacityRequestsInternalRecordIterator(ListOccCapacityRequestsInternalRequest request)
Creates a new iterable which will iterate over the OccCapacityRequestSummary
objects contained in
responses from the listOccCapacityRequestsInternal 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 OccCapacityRequestSummary
objects contained in
responses received from the service.public Iterable<ListOccCustomerGroupsResponse> listOccCustomerGroupsResponseIterator(ListOccCustomerGroupsRequest request)
Creates a new iterable which will iterate over the responses received from the listOccCustomerGroups 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<OccCustomerGroupSummary> listOccCustomerGroupsRecordIterator(ListOccCustomerGroupsRequest request)
Creates a new iterable which will iterate over the OccCustomerGroupSummary
objects contained in
responses from the listOccCustomerGroups 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 OccCustomerGroupSummary
objects contained in
responses received from the service.public Iterable<ListOccHandoverResourceBlockDetailsResponse> listOccHandoverResourceBlockDetailsResponseIterator(ListOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over the responses received from the listOccHandoverResourceBlockDetails 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<OccHandoverResourceBlockDetailSummary> listOccHandoverResourceBlockDetailsRecordIterator(ListOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over the OccHandoverResourceBlockDetailSummary
objects
contained in responses from the listOccHandoverResourceBlockDetails 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 OccHandoverResourceBlockDetailSummary
objects
contained in responses received from the service.public Iterable<ListOccHandoverResourceBlocksResponse> listOccHandoverResourceBlocksResponseIterator(ListOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over the responses received from the listOccHandoverResourceBlocks 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<OccHandoverResourceBlockSummary> listOccHandoverResourceBlocksRecordIterator(ListOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over the OccHandoverResourceBlockSummary
objects contained in
responses from the listOccHandoverResourceBlocks 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 OccHandoverResourceBlockSummary
objects
contained in responses received from the service.public Iterable<ListOccOverviewsResponse> listOccOverviewsResponseIterator(ListOccOverviewsRequest request)
Creates a new iterable which will iterate over the responses received from the listOccOverviews 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<OccOverviewSummary> listOccOverviewsRecordIterator(ListOccOverviewsRequest request)
Creates a new iterable which will iterate over the OccOverviewSummary
objects contained in responses
from the listOccOverviews 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 OccOverviewSummary
objects contained in
responses received from the service.Copyright © 2016–2024. All rights reserved.