congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PaginatedItemsIterable$Builder.pagesIterable
Code IndexAdd Tabnine to your IDE (free)

How to use
pagesIterable
method
in
software.amazon.awssdk.core.pagination.sync.PaginatedItemsIterable$Builder

Best Java code snippets using software.amazon.awssdk.core.pagination.sync.PaginatedItemsIterable$Builder.pagesIterable (Showing top 20 results out of 540)

origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
origin: aws/aws-sdk-java-v2

/**
 * 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();
}
software.amazon.awssdk.core.pagination.syncPaginatedItemsIterable$BuilderpagesIterable

Popular methods of PaginatedItemsIterable$Builder

  • build
  • itemIteratorFunction

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Option (scala)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now