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, sdkHttpResponsecopyapplyMutation, 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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.