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