Interface ListWatchlistsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWatchlistsResponse.Builder,
,ListWatchlistsResponse> SdkBuilder<ListWatchlistsResponse.Builder,
,ListWatchlistsResponse> SdkPojo
,SdkResponse.Builder
,VoiceIdResponse.Builder
- Enclosing class:
ListWatchlistsResponse
@Mutable
@NotThreadSafe
public static interface ListWatchlistsResponse.Builder
extends VoiceIdResponse.Builder, SdkPojo, CopyableBuilder<ListWatchlistsResponse.Builder,ListWatchlistsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIfNextToken
is 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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.voiceid.model.VoiceIdResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
If
NextToken
is returned, there are more results available. The value ofNextToken
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
- IfNextToken
is returned, there are more results available. The value ofNextToken
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
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.Builder
avoiding the need to create one manually viaWatchlistSummary.builder()
.When the
Consumer
completes,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:
-