public static interface DescribeVoicesResponse.Builder extends PollyResponse.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method that creates an instance of theVoice.Builder avoiding the need to create one manually
via Voice.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #voices(List.
voices - a consumer that will call methods on Voice.Builder#voices(java.util.Collection) 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 © 2023. All rights reserved.