@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public class FileStoragePaginators extends Object
Collection of helper methods that can be used to provide an Iterable
interface
to any list operations of FileStorage 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 |
---|
FileStoragePaginators(FileStorage client) |
Modifier and Type | Method and Description |
---|---|
Iterable<ExportSetSummary> |
listExportSetsRecordIterator(ListExportSetsRequest request)
Creates a new iterable which will iterate over the
ExportSetSummary objects contained in responses from the
listExportSets operation. |
Iterable<ListExportSetsResponse> |
listExportSetsResponseIterator(ListExportSetsRequest request)
Creates a new iterable which will iterate over the responses received from the listExportSets
operation.
|
Iterable<ExportSummary> |
listExportsRecordIterator(ListExportsRequest request)
Creates a new iterable which will iterate over the
ExportSummary objects contained in responses from the
listExports operation. |
Iterable<ListExportsResponse> |
listExportsResponseIterator(ListExportsRequest request)
Creates a new iterable which will iterate over the responses received from the listExports
operation.
|
Iterable<FilesystemSnapshotPolicySummary> |
listFilesystemSnapshotPoliciesRecordIterator(ListFilesystemSnapshotPoliciesRequest request)
Creates a new iterable which will iterate over the
FilesystemSnapshotPolicySummary objects contained in
responses from the listFilesystemSnapshotPolicies operation. |
Iterable<ListFilesystemSnapshotPoliciesResponse> |
listFilesystemSnapshotPoliciesResponseIterator(ListFilesystemSnapshotPoliciesRequest request)
Creates a new iterable which will iterate over the responses received from the
listFilesystemSnapshotPolicies operation.
|
Iterable<FileSystemSummary> |
listFileSystemsRecordIterator(ListFileSystemsRequest request)
Creates a new iterable which will iterate over the
FileSystemSummary objects contained in responses from the
listFileSystems operation. |
Iterable<ListFileSystemsResponse> |
listFileSystemsResponseIterator(ListFileSystemsRequest request)
Creates a new iterable which will iterate over the responses received from the
listFileSystems operation.
|
Iterable<MountTargetSummary> |
listMountTargetsRecordIterator(ListMountTargetsRequest request)
Creates a new iterable which will iterate over the
MountTargetSummary objects contained in responses from the
listMountTargets operation. |
Iterable<ListMountTargetsResponse> |
listMountTargetsResponseIterator(ListMountTargetsRequest request)
Creates a new iterable which will iterate over the responses received from the
listMountTargets operation.
|
Iterable<OutboundConnectorSummary> |
listOutboundConnectorsRecordIterator(ListOutboundConnectorsRequest request)
Creates a new iterable which will iterate over the
OutboundConnectorSummary objects contained in responses
from the listOutboundConnectors operation. |
Iterable<ListOutboundConnectorsResponse> |
listOutboundConnectorsResponseIterator(ListOutboundConnectorsRequest request)
Creates a new iterable which will iterate over the responses received from the
listOutboundConnectors operation.
|
Iterable<ReplicationSummary> |
listReplicationsRecordIterator(ListReplicationsRequest request)
Creates a new iterable which will iterate over the
ReplicationSummary objects contained in responses from the
listReplications operation. |
Iterable<ListReplicationsResponse> |
listReplicationsResponseIterator(ListReplicationsRequest request)
Creates a new iterable which will iterate over the responses received from the
listReplications operation.
|
Iterable<ReplicationTargetSummary> |
listReplicationTargetsRecordIterator(ListReplicationTargetsRequest request)
Creates a new iterable which will iterate over the
ReplicationTargetSummary objects contained in responses
from the listReplicationTargets operation. |
Iterable<ListReplicationTargetsResponse> |
listReplicationTargetsResponseIterator(ListReplicationTargetsRequest request)
Creates a new iterable which will iterate over the responses received from the
listReplicationTargets operation.
|
Iterable<SnapshotSummary> |
listSnapshotsRecordIterator(ListSnapshotsRequest request)
Creates a new iterable which will iterate over the
SnapshotSummary objects contained in responses from the
listSnapshots operation. |
Iterable<ListSnapshotsResponse> |
listSnapshotsResponseIterator(ListSnapshotsRequest request)
Creates a new iterable which will iterate over the responses received from the listSnapshots
operation.
|
public FileStoragePaginators(FileStorage client)
public Iterable<ListExportSetsResponse> listExportSetsResponseIterator(ListExportSetsRequest request)
Creates a new iterable which will iterate over the responses received from the listExportSets 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<ExportSetSummary> listExportSetsRecordIterator(ListExportSetsRequest request)
Creates a new iterable which will iterate over the ExportSetSummary
objects contained in responses from the
listExportSets 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 ExportSetSummary
objects contained in responses
received from the service.public Iterable<ListExportsResponse> listExportsResponseIterator(ListExportsRequest request)
Creates a new iterable which will iterate over the responses received from the listExports 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<ExportSummary> listExportsRecordIterator(ListExportsRequest request)
Creates a new iterable which will iterate over the ExportSummary
objects contained in responses from the
listExports 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 ExportSummary
objects contained in responses received
from the service.public Iterable<ListFileSystemsResponse> listFileSystemsResponseIterator(ListFileSystemsRequest request)
Creates a new iterable which will iterate over the responses received from the listFileSystems 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<FileSystemSummary> listFileSystemsRecordIterator(ListFileSystemsRequest request)
Creates a new iterable which will iterate over the FileSystemSummary
objects contained in responses from the
listFileSystems 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 FileSystemSummary
objects contained in responses
received from the service.public Iterable<ListFilesystemSnapshotPoliciesResponse> listFilesystemSnapshotPoliciesResponseIterator(ListFilesystemSnapshotPoliciesRequest request)
Creates a new iterable which will iterate over the responses received from the listFilesystemSnapshotPolicies 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<FilesystemSnapshotPolicySummary> listFilesystemSnapshotPoliciesRecordIterator(ListFilesystemSnapshotPoliciesRequest request)
Creates a new iterable which will iterate over the FilesystemSnapshotPolicySummary
objects contained in
responses from the listFilesystemSnapshotPolicies 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 FilesystemSnapshotPolicySummary
objects contained in
responses received from the service.public Iterable<ListMountTargetsResponse> listMountTargetsResponseIterator(ListMountTargetsRequest request)
Creates a new iterable which will iterate over the responses received from the listMountTargets 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<MountTargetSummary> listMountTargetsRecordIterator(ListMountTargetsRequest request)
Creates a new iterable which will iterate over the MountTargetSummary
objects contained in responses from the
listMountTargets 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 MountTargetSummary
objects contained in responses
received from the service.public Iterable<ListOutboundConnectorsResponse> listOutboundConnectorsResponseIterator(ListOutboundConnectorsRequest request)
Creates a new iterable which will iterate over the responses received from the listOutboundConnectors 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<OutboundConnectorSummary> listOutboundConnectorsRecordIterator(ListOutboundConnectorsRequest request)
Creates a new iterable which will iterate over the OutboundConnectorSummary
objects contained in responses
from the listOutboundConnectors 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 OutboundConnectorSummary
objects contained in responses
received from the service.public Iterable<ListReplicationTargetsResponse> listReplicationTargetsResponseIterator(ListReplicationTargetsRequest request)
Creates a new iterable which will iterate over the responses received from the listReplicationTargets 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<ReplicationTargetSummary> listReplicationTargetsRecordIterator(ListReplicationTargetsRequest request)
Creates a new iterable which will iterate over the ReplicationTargetSummary
objects contained in responses
from the listReplicationTargets 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 ReplicationTargetSummary
objects contained in responses
received from the service.public Iterable<ListReplicationsResponse> listReplicationsResponseIterator(ListReplicationsRequest request)
Creates a new iterable which will iterate over the responses received from the listReplications 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<ReplicationSummary> listReplicationsRecordIterator(ListReplicationsRequest request)
Creates a new iterable which will iterate over the ReplicationSummary
objects contained in responses from the
listReplications 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 ReplicationSummary
objects contained in responses
received from the service.public Iterable<ListSnapshotsResponse> listSnapshotsResponseIterator(ListSnapshotsRequest request)
Creates a new iterable which will iterate over the responses received from the listSnapshots 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<SnapshotSummary> listSnapshotsRecordIterator(ListSnapshotsRequest request)
Creates a new iterable which will iterate over the SnapshotSummary
objects contained in responses from the
listSnapshots 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 SnapshotSummary
objects contained in responses received
from the service.Copyright © 2016–2024. All rights reserved.