/** * Returns an iterable to iterate through the paginated {@link ListDomainsResponse#domains()} member. The returned * iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<DomainSummary> domains() { Function<ListDomainsResponse, Iterator<DomainSummary>> getIterator = response -> { if (response != null && response.domains() != null) { return response.domains().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link DescribeEventsResponse#events()} member. The returned * iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<Event> events() { Function<DescribeEventsResponse, Iterator<Event>> getIterator = response -> { if (response != null && response.events() != null) { return response.events().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListArtifactsResponse#artifacts()} member. The * returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<Artifact> artifacts() { Function<ListArtifactsResponse, Iterator<Artifact>> getIterator = response -> { if (response != null && response.artifacts() != null) { return response.artifacts().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListInvitationsResponse#invitations()} member. The * returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<Invitation> invitations() { Function<ListInvitationsResponse, Iterator<Invitation>> getIterator = response -> { if (response != null && response.invitations() != null) { return response.invitations().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListTasksResponse#taskArns()} member. The returned * iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<String> taskArns() { Function<ListTasksResponse, Iterator<String>> getIterator = response -> { if (response != null && response.taskArns() != null) { return response.taskArns().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListRolesResponse#roles()} member. The returned * iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<Role> roles() { Function<ListRolesResponse, Iterator<Role>> getIterator = response -> { if (response != null && response.roles() != null) { return response.roles().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListInstanceGroupsResponse#instanceGroups()} member. * The returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<InstanceGroup> instanceGroups() { Function<ListInstanceGroupsResponse, Iterator<InstanceGroup>> getIterator = response -> { if (response != null && response.instanceGroups() != null) { return response.instanceGroups().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link GetWorkflowExecutionHistoryResponse#events()} member. * The returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<HistoryEvent> events() { Function<GetWorkflowExecutionHistoryResponse, Iterator<HistoryEvent>> getIterator = response -> { if (response != null && response.events() != null) { return response.events().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListVolumesResponse#volumeInfos()} member. The * returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<VolumeInfo> volumeInfos() { Function<ListVolumesResponse, Iterator<VolumeInfo>> getIterator = response -> { if (response != null && response.volumeInfos() != null) { return response.volumeInfos().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListUsersResponse#users()} member. The returned * iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<User> users() { Function<ListUsersResponse, Iterator<User>> getIterator = response -> { if (response != null && response.users() != null) { return response.users().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListGroupsForUserResponse#groups()} member. The * returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<Group> groups() { Function<ListGroupsForUserResponse, Iterator<Group>> getIterator = response -> { if (response != null && response.groups() != null) { return response.groups().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link DescribeSnapshotsResponse#snapshots()} member. The * returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<Snapshot> snapshots() { Function<DescribeSnapshotsResponse, Iterator<Snapshot>> getIterator = response -> { if (response != null && response.snapshots() != null) { return response.snapshots().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link DescribeEventsResponse#events()} member. The returned * iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<Event> events() { Function<DescribeEventsResponse, Iterator<Event>> getIterator = response -> { if (response != null && response.events() != null) { return response.events().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListTablesResponse#tableNames()} member. The returned * iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<String> tableNames() { Function<ListTablesResponse, Iterator<String>> getIterator = response -> { if (response != null && response.tableNames() != null) { return response.tableNames().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListActivityTypesResponse#typeInfos()} member. The * returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<ActivityTypeInfo> typeInfos() { Function<ListActivityTypesResponse, Iterator<ActivityTypeInfo>> getIterator = response -> { if (response != null && response.typeInfos() != null) { return response.typeInfos().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListEntitiesForPolicyResponse#policyUsers()} member. * The returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<PolicyUser> policyUsers() { Function<ListEntitiesForPolicyResponse, Iterator<PolicyUser>> getIterator = response -> { if (response != null && response.policyUsers() != null) { return response.policyUsers().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListGroupPoliciesResponse#policyNames()} member. The * returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<String> policyNames() { Function<ListGroupPoliciesResponse, Iterator<String>> getIterator = response -> { if (response != null && response.policyNames() != null) { return response.policyNames().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link GetTagKeysResponse#tagKeys()} member. The returned * iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<String> tagKeys() { Function<GetTagKeysResponse, Iterator<String>> getIterator = response -> { if (response != null && response.tagKeys() != null) { return response.tagKeys().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link DescribeBatchPredictionsResponse#results()} member. * The returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<BatchPrediction> results() { Function<DescribeBatchPredictionsResponse, Iterator<BatchPrediction>> getIterator = response -> { if (response != null && response.results() != null) { return response.results().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }
/** * Returns an iterable to iterate through the paginated {@link ListDetectorsResponse#detectorIds()} member. The * returned iterable is used to iterate through the results across all response pages and not a single page. * * This method is useful if you are interested in iterating over the paginated member in the response pages instead * of the top level pages. Similar to iteration over pages, this method internally makes service calls to get the * next list of results until the iteration stops or there are no more results. */ public final SdkIterable<String> detectorIds() { Function<ListDetectorsResponse, Iterator<String>> getIterator = response -> { if (response != null && response.detectorIds() != null) { return response.detectorIds().iterator(); } return Collections.emptyIterator(); }; return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build(); }