| Package | Description |
|---|---|
| software.amazon.awssdk.services.polly |
Amazon Polly is a web service that makes it easy to synthesize speech from text.
|
| software.amazon.awssdk.services.polly.model |
| Modifier and Type | Method and Description |
|---|---|
default ResponseInputStream<SynthesizeSpeechResponse> |
PollyClient.synthesizeSpeech(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default <ReturnT> CompletableFuture<ReturnT> |
PollyAsyncClient.synthesizeSpeech(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest,
AsyncResponseTransformer<SynthesizeSpeechResponse,ReturnT> asyncResponseTransformer)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default SynthesizeSpeechResponse |
PollyClient.synthesizeSpeech(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest,
Path destinationPath)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default CompletableFuture<SynthesizeSpeechResponse> |
PollyAsyncClient.synthesizeSpeech(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest,
Path destinationPath)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default <ReturnT> ReturnT |
PollyClient.synthesizeSpeech(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest,
ResponseTransformer<SynthesizeSpeechResponse,ReturnT> responseTransformer)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default ResponseBytes<SynthesizeSpeechResponse> |
PollyClient.synthesizeSpeechAsBytes(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
| Modifier and Type | Method and Description |
|---|---|
static SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.builder() |
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.engine(Engine engine)
Specifies the engine (
standard or neural) for Amazon Polly to use when processing
input text for speech synthesis. |
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.engine(String engine)
Specifies the engine (
standard or neural) for Amazon Polly to use when processing
input text for speech synthesis. |
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.languageCode(LanguageCode languageCode)
Optional language code for the Synthesize Speech request.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.languageCode(String languageCode)
Optional language code for the Synthesize Speech request.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.lexiconNames(Collection<String> lexiconNames)
List of one or more pronunciation lexicon names you want the service to apply during synthesis.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.lexiconNames(String... lexiconNames)
List of one or more pronunciation lexicon names you want the service to apply during synthesis.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.outputFormat(OutputFormat outputFormat)
The format in which the returned output will be encoded.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.outputFormat(String outputFormat)
The format in which the returned output will be encoded.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.sampleRate(String sampleRate)
The audio frequency specified in Hz.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.speechMarkTypes(Collection<SpeechMarkType> speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.speechMarkTypes(SpeechMarkType... speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.speechMarkTypesWithStrings(Collection<String> speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.speechMarkTypesWithStrings(String... speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.text(String text)
Input text to synthesize.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.textType(String textType)
Specifies whether the input text is plain text or SSML.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.textType(TextType textType)
Specifies whether the input text is plain text or SSML.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.toBuilder() |
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.voiceId(String voiceId)
Voice ID to use for the synthesis.
|
SynthesizeSpeechRequest.Builder |
SynthesizeSpeechRequest.Builder.voiceId(VoiceId voiceId)
Voice ID to use for the synthesis.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends SynthesizeSpeechRequest.Builder> |
SynthesizeSpeechRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.