congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
PaginatedItemsIterable$Builder.itemIteratorFunction
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using software.amazon.awssdk.core.pagination.sync.PaginatedItemsIterable$Builder.itemIteratorFunction (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$BuilderitemIteratorFunction

Popular methods of PaginatedItemsIterable$Builder

  • build
  • pagesIterable

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • BoxLayout (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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