Interface CreateWatchlistResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<CreateWatchlistResponse.Builder,,CreateWatchlistResponse> SdkBuilder<CreateWatchlistResponse.Builder,,CreateWatchlistResponse> SdkPojo,SdkResponse.Builder,VoiceIdResponse.Builder
- Enclosing class:
 CreateWatchlistResponse
public static interface CreateWatchlistResponse.Builder
extends VoiceIdResponse.Builder, SdkPojo, CopyableBuilder<CreateWatchlistResponse.Builder,CreateWatchlistResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault CreateWatchlistResponse.Builderwatchlist(Consumer<Watchlist.Builder> watchlist) Information about the newly created watchlist.Information about the newly created watchlist.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
- 
watchlist
Information about the newly created watchlist.
- Parameters:
 watchlist- Information about the newly created watchlist.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
watchlist
Information about the newly created watchlist.
This is a convenience method that creates an instance of theWatchlist.Builderavoiding the need to create one manually viaWatchlist.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towatchlist(Watchlist).- Parameters:
 watchlist- a consumer that will call methods onWatchlist.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -