Codota Logo
PaginatedItemsIterable$Builder
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: aws/aws-sdk-java-v2

/**
 * Returns an iterable to iterate through the paginated {@link PollForDecisionTaskResponse#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<PollForDecisionTaskResponse, 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 QueryResponse#items()} 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<Map<String, AttributeValue>> items() {
  Function<QueryResponse, Iterator<Map<String, AttributeValue>>> getIterator = response -> {
    if (response != null && response.items() != null) {
      return response.items().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 GetOfferingStatusResponse#current()} 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<Map.Entry<String, OfferingStatus>> current() {
  Function<GetOfferingStatusResponse, Iterator<Map.Entry<String, OfferingStatus>>> getIterator = response -> {
    if (response != null && response.current() != null) {
      return response.current().entrySet().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 GetTraceSummariesResponse#traceSummaries()} 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<TraceSummary> traceSummaries() {
  Function<GetTraceSummariesResponse, Iterator<TraceSummary>> getIterator = response -> {
    if (response != null && response.traceSummaries() != null) {
      return response.traceSummaries().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 ListCollectionsResponse#collectionIds()} 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> collectionIds() {
  Function<ListCollectionsResponse, Iterator<String>> getIterator = response -> {
    if (response != null && response.collectionIds() != null) {
      return response.collectionIds().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 DescribeScheduleResponse#scheduleActions()} 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<ScheduleAction> scheduleActions() {
  Function<DescribeScheduleResponse, Iterator<ScheduleAction>> getIterator = response -> {
    if (response != null && response.scheduleActions() != null) {
      return response.scheduleActions().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 ListChannelsResponse#channels()} 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<ChannelSummary> channels() {
  Function<ListChannelsResponse, Iterator<ChannelSummary>> getIterator = response -> {
    if (response != null && response.channels() != null) {
      return response.channels().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 GetUsageResponse#items()} 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<Map.Entry<String, List<List<Long>>>> items() {
  Function<GetUsageResponse, Iterator<Map.Entry<String, List<List<Long>>>>> getIterator = response -> {
    if (response != null && response.items() != null) {
      return response.items().entrySet().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 GetResourcesResponse#items()} 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<Resource> items() {
  Function<GetResourcesResponse, Iterator<Resource>> getIterator = response -> {
    if (response != null && response.items() != null) {
      return response.items().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 DescribeLogGroupsResponse#logGroups()} 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<LogGroup> logGroups() {
  Function<DescribeLogGroupsResponse, Iterator<LogGroup>> getIterator = response -> {
    if (response != null && response.logGroups() != null) {
      return response.logGroups().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 ListIdentitiesResponse#identities()} 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> identities() {
  Function<ListIdentitiesResponse, Iterator<String>> getIterator = response -> {
    if (response != null && response.identities() != null) {
      return response.identities().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 GetDomainNamesResponse#items()} 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<DomainName> items() {
  Function<GetDomainNamesResponse, Iterator<DomainName>> getIterator = response -> {
    if (response != null && response.items() != null) {
      return response.items().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 ListTestsResponse#tests()} 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<Test> tests() {
  Function<ListTestsResponse, Iterator<Test>> getIterator = response -> {
    if (response != null && response.tests() != null) {
      return response.tests().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 ListAssociationsResponse#associations()} 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<Association> associations() {
  Function<ListAssociationsResponse, Iterator<Association>> getIterator = response -> {
    if (response != null && response.associations() != null) {
      return response.associations().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 ListFunctionsResponse#functions()} 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<FunctionConfiguration> functions() {
  Function<ListFunctionsResponse, Iterator<FunctionConfiguration>> getIterator = response -> {
    if (response != null && response.functions() != null) {
      return response.functions().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 ListTopicsResponse#topics()} 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<Topic> topics() {
  Function<ListTopicsResponse, Iterator<Topic>> getIterator = response -> {
    if (response != null && response.topics() != null) {
      return response.topics().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 ListVaultsResponse#vaultList()} 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<DescribeVaultOutput> vaultList() {
  Function<ListVaultsResponse, Iterator<DescribeVaultOutput>> getIterator = response -> {
    if (response != null && response.vaultList() != null) {
      return response.vaultList().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 ListAccountAliasesResponse#accountAliases()} 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> accountAliases() {
  Function<ListAccountAliasesResponse, Iterator<String>> getIterator = response -> {
    if (response != null && response.accountAliases() != null) {
      return response.accountAliases().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 DescribeDbInstancesResponse#dbInstances()} 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<DBInstance> dbInstances() {
  Function<DescribeDbInstancesResponse, Iterator<DBInstance>> getIterator = response -> {
    if (response != null && response.dbInstances() != null) {
      return response.dbInstances().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 ListJobTemplatesResponse#jobTemplates()} 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<JobTemplate> jobTemplates() {
  Function<ListJobTemplatesResponse, Iterator<JobTemplate>> getIterator = response -> {
    if (response != null && response.jobTemplates() != null) {
      return response.jobTemplates().iterator();
    }
    return Collections.emptyIterator();
  };
  return PaginatedItemsIterable.builder().pagesIterable(this).itemIteratorFunction(getIterator).build();
}
software.amazon.awssdk.core.pagination.syncPaginatedItemsIterable$Builder

Most used methods

  • build
  • itemIteratorFunction
  • pagesIterable

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Kernel (java.awt.image)
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Collectors (java.util.stream)
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JPanel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now