public static interface StartSpeechSynthesisTaskResponse.Builder extends PollyResponse.Builder, SdkPojo, CopyableBuilder<StartSpeechSynthesisTaskResponse.Builder,StartSpeechSynthesisTaskResponse>
| Modifier and Type | Method and Description |
|---|---|
default StartSpeechSynthesisTaskResponse.Builder |
synthesisTask(Consumer<SynthesisTask.Builder> synthesisTask)
SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.
|
StartSpeechSynthesisTaskResponse.Builder |
synthesisTask(SynthesisTask synthesisTask)
SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartSpeechSynthesisTaskResponse.Builder synthesisTask(SynthesisTask synthesisTask)
SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.
synthesisTask - SynthesisTask object that provides information and attributes about a newly submitted speech synthesis
task.default StartSpeechSynthesisTaskResponse.Builder synthesisTask(Consumer<SynthesisTask.Builder> synthesisTask)
SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.
This is a convenience method that creates an instance of theSynthesisTask.Builder avoiding the need
to create one manually via SynthesisTask.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to synthesisTask(SynthesisTask).
synthesisTask - a consumer that will call methods on SynthesisTask.BuildersynthesisTask(SynthesisTask)Copyright © 2023. All rights reserved.