| 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 StartSpeechSynthesisTaskResponse |
PollyClient.startSpeechSynthesisTask(Consumer<StartSpeechSynthesisTaskRequest.Builder> startSpeechSynthesisTaskRequest)
Allows the creation of an asynchronous synthesis task, by starting a new
SpeechSynthesisTask. |
default CompletableFuture<StartSpeechSynthesisTaskResponse> |
PollyAsyncClient.startSpeechSynthesisTask(Consumer<StartSpeechSynthesisTaskRequest.Builder> startSpeechSynthesisTaskRequest)
Allows the creation of an asynchronous synthesis task, by starting a new
SpeechSynthesisTask. |
| Modifier and Type | Method and Description |
|---|---|
static StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.builder() |
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.engine(Engine engine)
Specifies the engine (
standard or neural) for Amazon Polly to use when processing
input text for speech synthesis. |
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.engine(String engine)
Specifies the engine (
standard or neural) for Amazon Polly to use when processing
input text for speech synthesis. |
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.languageCode(LanguageCode languageCode)
Optional language code for the Speech Synthesis request.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.languageCode(String languageCode)
Optional language code for the Speech Synthesis request.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.lexiconNames(Collection<String> lexiconNames)
List of one or more pronunciation lexicon names you want the service to apply during synthesis.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.lexiconNames(String... lexiconNames)
List of one or more pronunciation lexicon names you want the service to apply during synthesis.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.outputFormat(OutputFormat outputFormat)
The format in which the returned output will be encoded.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.outputFormat(String outputFormat)
The format in which the returned output will be encoded.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.outputS3BucketName(String outputS3BucketName)
Amazon S3 bucket name to which the output file will be saved.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.outputS3KeyPrefix(String outputS3KeyPrefix)
The Amazon S3 key prefix for the output speech file.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.sampleRate(String sampleRate)
The audio frequency specified in Hz.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.snsTopicArn(String snsTopicArn)
ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.speechMarkTypes(Collection<SpeechMarkType> speechMarkTypes)
The type of speech marks returned for the input text.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.speechMarkTypes(SpeechMarkType... speechMarkTypes)
The type of speech marks returned for the input text.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.speechMarkTypesWithStrings(Collection<String> speechMarkTypes)
The type of speech marks returned for the input text.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.speechMarkTypesWithStrings(String... speechMarkTypes)
The type of speech marks returned for the input text.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.text(String text)
The input text to synthesize.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.textType(String textType)
Specifies whether the input text is plain text or SSML.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.textType(TextType textType)
Specifies whether the input text is plain text or SSML.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.toBuilder() |
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.voiceId(String voiceId)
Voice ID to use for the synthesis.
|
StartSpeechSynthesisTaskRequest.Builder |
StartSpeechSynthesisTaskRequest.Builder.voiceId(VoiceId voiceId)
Voice ID to use for the synthesis.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends StartSpeechSynthesisTaskRequest.Builder> |
StartSpeechSynthesisTaskRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.