| Package | Description |
|---|---|
| software.amazon.awssdk.services.polly.model |
| Modifier and Type | Method and Description |
|---|---|
static SynthesisTask.Builder |
SynthesisTask.builder() |
SynthesisTask.Builder |
SynthesisTask.Builder.creationTime(Instant creationTime)
Timestamp for the time the synthesis task was started.
|
SynthesisTask.Builder |
SynthesisTask.Builder.engine(Engine engine)
Specifies the engine (
standard or neural) for Amazon Polly to use when processing
input text for speech synthesis. |
SynthesisTask.Builder |
SynthesisTask.Builder.engine(String engine)
Specifies the engine (
standard or neural) for Amazon Polly to use when processing
input text for speech synthesis. |
SynthesisTask.Builder |
SynthesisTask.Builder.languageCode(LanguageCode languageCode)
Optional language code for a synthesis task.
|
SynthesisTask.Builder |
SynthesisTask.Builder.languageCode(String languageCode)
Optional language code for a synthesis task.
|
SynthesisTask.Builder |
SynthesisTask.Builder.lexiconNames(Collection<String> lexiconNames)
List of one or more pronunciation lexicon names you want the service to apply during synthesis.
|
SynthesisTask.Builder |
SynthesisTask.Builder.lexiconNames(String... lexiconNames)
List of one or more pronunciation lexicon names you want the service to apply during synthesis.
|
SynthesisTask.Builder |
SynthesisTask.Builder.outputFormat(OutputFormat outputFormat)
The format in which the returned output will be encoded.
|
SynthesisTask.Builder |
SynthesisTask.Builder.outputFormat(String outputFormat)
The format in which the returned output will be encoded.
|
SynthesisTask.Builder |
SynthesisTask.Builder.outputUri(String outputUri)
Pathway for the output speech file.
|
SynthesisTask.Builder |
SynthesisTask.Builder.requestCharacters(Integer requestCharacters)
Number of billable characters synthesized.
|
SynthesisTask.Builder |
SynthesisTask.Builder.sampleRate(String sampleRate)
The audio frequency specified in Hz.
|
SynthesisTask.Builder |
SynthesisTask.Builder.snsTopicArn(String snsTopicArn)
ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
|
SynthesisTask.Builder |
SynthesisTask.Builder.speechMarkTypes(Collection<SpeechMarkType> speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesisTask.Builder |
SynthesisTask.Builder.speechMarkTypes(SpeechMarkType... speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesisTask.Builder |
SynthesisTask.Builder.speechMarkTypesWithStrings(Collection<String> speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesisTask.Builder |
SynthesisTask.Builder.speechMarkTypesWithStrings(String... speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesisTask.Builder |
SynthesisTask.Builder.taskId(String taskId)
The Amazon Polly generated identifier for a speech synthesis task.
|
SynthesisTask.Builder |
SynthesisTask.Builder.taskStatus(String taskStatus)
Current status of the individual speech synthesis task.
|
SynthesisTask.Builder |
SynthesisTask.Builder.taskStatus(TaskStatus taskStatus)
Current status of the individual speech synthesis task.
|
SynthesisTask.Builder |
SynthesisTask.Builder.taskStatusReason(String taskStatusReason)
Reason for the current status of a specific speech synthesis task, including errors if the task has failed.
|
SynthesisTask.Builder |
SynthesisTask.Builder.textType(String textType)
Specifies whether the input text is plain text or SSML.
|
SynthesisTask.Builder |
SynthesisTask.Builder.textType(TextType textType)
Specifies whether the input text is plain text or SSML.
|
SynthesisTask.Builder |
SynthesisTask.toBuilder() |
SynthesisTask.Builder |
SynthesisTask.Builder.voiceId(String voiceId)
Voice ID to use for the synthesis.
|
SynthesisTask.Builder |
SynthesisTask.Builder.voiceId(VoiceId voiceId)
Voice ID to use for the synthesis.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends SynthesisTask.Builder> |
SynthesisTask.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default GetSpeechSynthesisTaskResponse.Builder |
GetSpeechSynthesisTaskResponse.Builder.synthesisTask(Consumer<SynthesisTask.Builder> synthesisTask)
SynthesisTask object that provides information from the requested task, including output format, creation
time, task status, and so on.
|
default StartSpeechSynthesisTaskResponse.Builder |
StartSpeechSynthesisTaskResponse.Builder.synthesisTask(Consumer<SynthesisTask.Builder> synthesisTask)
SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.
|
Copyright © 2023. All rights reserved.