public static interface GetSpeechSynthesisTaskResponse.Builder extends PollyResponse.Builder, SdkPojo, CopyableBuilder<GetSpeechSynthesisTaskResponse.Builder,GetSpeechSynthesisTaskResponse>
Modifier and Type | Method and Description |
---|---|
default 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.
|
GetSpeechSynthesisTaskResponse.Builder |
synthesisTask(SynthesisTask synthesisTask)
SynthesisTask object that provides information from the requested task, including output format, creation
time, task status, and so on.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetSpeechSynthesisTaskResponse.Builder synthesisTask(SynthesisTask synthesisTask)
SynthesisTask object that provides information from the requested task, including output format, creation time, task status, and so on.
synthesisTask
- SynthesisTask object that provides information from the requested task, including output format,
creation time, task status, and so on.default 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.
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.Builder
synthesisTask(SynthesisTask)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.