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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWatchlistsResponse.BuildernextToken(String nextToken)IfNextTokenis returned, there are more results available.ListWatchlistsResponse.BuilderwatchlistSummaries(Collection<WatchlistSummary> watchlistSummaries)A list that contains details about each watchlist in the Amazon Web Services account.ListWatchlistsResponse.BuilderwatchlistSummaries(Consumer<WatchlistSummary.Builder>... watchlistSummaries)A list that contains details about each watchlist in the Amazon Web Services account.ListWatchlistsResponse.BuilderwatchlistSummaries(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, 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 Detail
-
nextToken
ListWatchlistsResponse.Builder nextToken(String 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
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 theWatchlistSummary.Builderavoiding the need to create one manually viaWatchlistSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#watchlistSummaries(List.) - 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:
#watchlistSummaries(java.util.Collection)
-
-