Class CapacityManagementPaginators
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.CapacityManagementPaginators
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public class CapacityManagementPaginators extends ObjectCollection of helper methods that can be used to provide anIterableinterface to any list operations of CapacityManagement where multiple pages of data may be fetched.Two styles of iteration are supported:
- Iterating over the Response objects returned by the list operation. These are referred to as ResponseIterators, and the methods are suffixed with ResponseIterator. For example: listUsersResponseIterator
- Iterating over the resources/records being listed. These are referred to as RecordIterators, and the methods are suffixed with RecordIterator. For example: listUsersRecordIterator
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
Iterablereturned by calling a ResponseIterator method would iterate over the ListUsersResponse objects returned by each ListUsers call, whereas theIterablereturned 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 Summary
Constructors Constructor Description CapacityManagementPaginators(CapacityManagement client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<OccOverviewSummary>listInternalNamespaceOccOverviewsRecordIterator(ListInternalNamespaceOccOverviewsRequest request)Creates a new iterable which will iterate over theOccOverviewSummaryobjects 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 theOccHandoverResourceBlockDetailSummaryobjects 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 theOccHandoverResourceBlockSummaryobjects 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 theOccAvailabilitySummaryobjects 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 theOccAvailabilityCatalogSummaryobjects 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 theOccAvailabilityCatalogSummaryobjects 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 theOccCapacityRequestSummaryobjects 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 theOccCapacityRequestSummaryobjects 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 theOccCustomerGroupSummaryobjects 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 theOccHandoverResourceBlockDetailSummaryobjects 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 theOccHandoverResourceBlockSummaryobjects 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 theOccOverviewSummaryobjects 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.
-
-
-
Constructor Detail
-
CapacityManagementPaginators
public CapacityManagementPaginators(CapacityManagement client)
-
-
Method Detail
-
listInternalNamespaceOccOverviewsResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listInternalNamespaceOccOverviewsRecordIterator
public Iterable<OccOverviewSummary> listInternalNamespaceOccOverviewsRecordIterator(ListInternalNamespaceOccOverviewsRequest request)
Creates a new iterable which will iterate over theOccOverviewSummaryobjects contained in responses from the listInternalNamespaceOccOverviews operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccOverviewSummaryobjects contained in responses received from the service.
-
listInternalOccHandoverResourceBlockDetailsResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listInternalOccHandoverResourceBlockDetailsRecordIterator
public Iterable<OccHandoverResourceBlockDetailSummary> listInternalOccHandoverResourceBlockDetailsRecordIterator(ListInternalOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over theOccHandoverResourceBlockDetailSummaryobjects contained in responses from the listInternalOccHandoverResourceBlockDetails operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccHandoverResourceBlockDetailSummaryobjects contained in responses received from the service.
-
listInternalOccHandoverResourceBlocksResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listInternalOccHandoverResourceBlocksRecordIterator
public Iterable<OccHandoverResourceBlockSummary> listInternalOccHandoverResourceBlocksRecordIterator(ListInternalOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over theOccHandoverResourceBlockSummaryobjects contained in responses from the listInternalOccHandoverResourceBlocks operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccHandoverResourceBlockSummaryobjects contained in responses received from the service.
-
listOccAvailabilitiesResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listOccAvailabilitiesRecordIterator
public Iterable<OccAvailabilitySummary> listOccAvailabilitiesRecordIterator(ListOccAvailabilitiesRequest request)
Creates a new iterable which will iterate over theOccAvailabilitySummaryobjects contained in responses from the listOccAvailabilities operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccAvailabilitySummaryobjects contained in responses received from the service.
-
listOccAvailabilityCatalogsResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listOccAvailabilityCatalogsRecordIterator
public Iterable<OccAvailabilityCatalogSummary> listOccAvailabilityCatalogsRecordIterator(ListOccAvailabilityCatalogsRequest request)
Creates a new iterable which will iterate over theOccAvailabilityCatalogSummaryobjects contained in responses from the listOccAvailabilityCatalogs operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccAvailabilityCatalogSummaryobjects contained in responses received from the service.
-
listOccAvailabilityCatalogsInternalResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listOccAvailabilityCatalogsInternalRecordIterator
public Iterable<OccAvailabilityCatalogSummary> listOccAvailabilityCatalogsInternalRecordIterator(ListOccAvailabilityCatalogsInternalRequest request)
Creates a new iterable which will iterate over theOccAvailabilityCatalogSummaryobjects contained in responses from the listOccAvailabilityCatalogsInternal operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccAvailabilityCatalogSummaryobjects contained in responses received from the service.
-
listOccCapacityRequestsResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listOccCapacityRequestsRecordIterator
public Iterable<OccCapacityRequestSummary> listOccCapacityRequestsRecordIterator(ListOccCapacityRequestsRequest request)
Creates a new iterable which will iterate over theOccCapacityRequestSummaryobjects contained in responses from the listOccCapacityRequests operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccCapacityRequestSummaryobjects contained in responses received from the service.
-
listOccCapacityRequestsInternalResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listOccCapacityRequestsInternalRecordIterator
public Iterable<OccCapacityRequestSummary> listOccCapacityRequestsInternalRecordIterator(ListOccCapacityRequestsInternalRequest request)
Creates a new iterable which will iterate over theOccCapacityRequestSummaryobjects contained in responses from the listOccCapacityRequestsInternal operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccCapacityRequestSummaryobjects contained in responses received from the service.
-
listOccCustomerGroupsResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listOccCustomerGroupsRecordIterator
public Iterable<OccCustomerGroupSummary> listOccCustomerGroupsRecordIterator(ListOccCustomerGroupsRequest request)
Creates a new iterable which will iterate over theOccCustomerGroupSummaryobjects contained in responses from the listOccCustomerGroups operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccCustomerGroupSummaryobjects contained in responses received from the service.
-
listOccHandoverResourceBlockDetailsResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listOccHandoverResourceBlockDetailsRecordIterator
public Iterable<OccHandoverResourceBlockDetailSummary> listOccHandoverResourceBlockDetailsRecordIterator(ListOccHandoverResourceBlockDetailsRequest request)
Creates a new iterable which will iterate over theOccHandoverResourceBlockDetailSummaryobjects contained in responses from the listOccHandoverResourceBlockDetails operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccHandoverResourceBlockDetailSummaryobjects contained in responses received from the service.
-
listOccHandoverResourceBlocksResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listOccHandoverResourceBlocksRecordIterator
public Iterable<OccHandoverResourceBlockSummary> listOccHandoverResourceBlocksRecordIterator(ListOccHandoverResourceBlocksRequest request)
Creates a new iterable which will iterate over theOccHandoverResourceBlockSummaryobjects contained in responses from the listOccHandoverResourceBlocks operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccHandoverResourceBlockSummaryobjects contained in responses received from the service.
-
listOccOverviewsResponseIterator
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.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over the responses received from the service.
-
listOccOverviewsRecordIterator
public Iterable<OccOverviewSummary> listOccOverviewsRecordIterator(ListOccOverviewsRequest request)
Creates a new iterable which will iterate over theOccOverviewSummaryobjects contained in responses from the listOccOverviews operation.This iterable will fetch more data from the server as needed.
- Parameters:
request- a request which can be sent to the service operation- Returns:
- an
Iterablewhich can be used to iterate over theOccOverviewSummaryobjects contained in responses received from the service.
-
-