public static interface CreateWatchlistResponse.Builder extends VoiceIdResponse.Builder, SdkPojo, CopyableBuilder<CreateWatchlistResponse.Builder,CreateWatchlistResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateWatchlistResponse.Builder |
watchlist(Consumer<Watchlist.Builder> watchlist)
Information about the newly created watchlist.
|
CreateWatchlistResponse.Builder |
watchlist(Watchlist watchlist)
Information about the newly created watchlist.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateWatchlistResponse.Builder watchlist(Watchlist watchlist)
Information about the newly created watchlist.
watchlist - Information about the newly created watchlist.default CreateWatchlistResponse.Builder watchlist(Consumer<Watchlist.Builder> watchlist)
Information about the newly created watchlist.
This is a convenience method that creates an instance of theWatchlist.Builder avoiding the need to
create one manually via Watchlist.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to watchlist(Watchlist).
watchlist - a consumer that will call methods on Watchlist.Builderwatchlist(Watchlist)Copyright © 2023. All rights reserved.