Interface UpdateWatchlistResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateWatchlistResponse.Builder,,UpdateWatchlistResponse> SdkBuilder<UpdateWatchlistResponse.Builder,,UpdateWatchlistResponse> SdkPojo,SdkResponse.Builder,VoiceIdResponse.Builder
- Enclosing class:
UpdateWatchlistResponse
public static interface UpdateWatchlistResponse.Builder
extends VoiceIdResponse.Builder, SdkPojo, CopyableBuilder<UpdateWatchlistResponse.Builder,UpdateWatchlistResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWatchlistResponse.Builderwatchlist(Consumer<Watchlist.Builder> watchlist) Details about the updated watchlist.Details about the updated 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, sdkFieldNameToField, 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
Details about the updated watchlist.
- Parameters:
watchlist- Details about the updated watchlist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
watchlist
Details about the updated 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:
-