public static interface DescribeVoicesResponse.Builder extends PollyResponse.Builder, CopyableBuilder<DescribeVoicesResponse.Builder,DescribeVoicesResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeVoicesResponse.Builder |
nextToken(String nextToken)
The pagination token to use in the next request to continue the listing of voices.
|
DescribeVoicesResponse.Builder |
voices(Collection<Voice> voices)
A list of voices with their properties.
|
DescribeVoicesResponse.Builder |
voices(Consumer<Voice.Builder>... voices)
A list of voices with their properties.
|
DescribeVoicesResponse.Builder |
voices(Voice... voices)
A list of voices with their properties.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildDescribeVoicesResponse.Builder voices(Collection<Voice> voices)
A list of voices with their properties.
voices - A list of voices with their properties.DescribeVoicesResponse.Builder voices(Voice... voices)
A list of voices with their properties.
voices - A list of voices with their properties.DescribeVoicesResponse.Builder voices(Consumer<Voice.Builder>... voices)
A list of voices with their properties.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #voices(List) .voices - a consumer that will call methods on List.Builder #voices(List) DescribeVoicesResponse.Builder nextToken(String nextToken)
The pagination token to use in the next request to continue the listing of voices. NextToken is
returned only if the response is truncated.
nextToken - The pagination token to use in the next request to continue the listing of voices.
NextToken is returned only if the response is truncated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.