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 Summary
Modifier and TypeMethodDescriptionIfNextTokenis returned, there are more results available.watchlistSummaries(Collection<WatchlistSummary> watchlistSummaries) A list that contains details about each watchlist in the Amazon Web Services account.watchlistSummaries(Consumer<WatchlistSummary.Builder>... watchlistSummaries) A list that contains details about each watchlist in the Amazon Web Services account.watchlistSummaries(WatchlistSummary... watchlistSummaries) A list that contains details about each watchlist in the Amazon Web Services account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.voiceid.model.VoiceIdResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
If
NextTokenis returned, there are more results available. The value ofNextTokenis 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- IfNextTokenis returned, there are more results available. The value ofNextTokenis 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
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
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 theWatchlistSummary.Builderavoiding the need to create one manually viaWatchlistSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towatchlistSummaries(List<WatchlistSummary>).- Parameters:
watchlistSummaries- a consumer that will call methods onWatchlistSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-