Interface ListWatchlistsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListWatchlistsResponse.Builder,ListWatchlistsResponse>, SdkBuilder<ListWatchlistsResponse.Builder,ListWatchlistsResponse>, SdkPojo, SdkResponse.Builder, VoiceIdResponse.Builder
Enclosing class:
ListWatchlistsResponse

public static interface ListWatchlistsResponse.Builder extends VoiceIdResponse.Builder, SdkPojo, CopyableBuilder<ListWatchlistsResponse.Builder,ListWatchlistsResponse>
  • Method Details

    • nextToken

      ListWatchlistsResponse.Builder nextToken(String nextToken)

      If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.

      Parameters:
      nextToken - If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • watchlistSummaries

      ListWatchlistsResponse.Builder watchlistSummaries(Collection<WatchlistSummary> watchlistSummaries)

      A list that contains details about each watchlist in the Amazon Web Services account.

      Parameters:
      watchlistSummaries - A list that contains details about each watchlist in the Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • watchlistSummaries

      ListWatchlistsResponse.Builder watchlistSummaries(WatchlistSummary... watchlistSummaries)

      A list that contains details about each watchlist in the Amazon Web Services account.

      Parameters:
      watchlistSummaries - A list that contains details about each watchlist in the Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • watchlistSummaries

      ListWatchlistsResponse.Builder watchlistSummaries(Consumer<WatchlistSummary.Builder>... watchlistSummaries)

      A list that contains details about each watchlist in the Amazon Web Services account.

      This is a convenience method that creates an instance of the WatchlistSummary.Builder avoiding the need to create one manually via WatchlistSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to watchlistSummaries(List<WatchlistSummary>).

      Parameters:
      watchlistSummaries - a consumer that will call methods on WatchlistSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: