Interface GetSpeechSynthesisTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSpeechSynthesisTaskResponse.Builder,GetSpeechSynthesisTaskResponse>,PollyResponse.Builder,SdkBuilder<GetSpeechSynthesisTaskResponse.Builder,GetSpeechSynthesisTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSpeechSynthesisTaskResponse
public static interface GetSpeechSynthesisTaskResponse.Builder extends PollyResponse.Builder, SdkPojo, CopyableBuilder<GetSpeechSynthesisTaskResponse.Builder,GetSpeechSynthesisTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetSpeechSynthesisTaskResponse.BuildersynthesisTask(Consumer<SynthesisTask.Builder> synthesisTask)SynthesisTask object that provides information from the requested task, including output format, creation time, task status, and so on.GetSpeechSynthesisTaskResponse.BuildersynthesisTask(SynthesisTask synthesisTask)SynthesisTask object that provides information from the requested task, including output format, creation time, task status, and so on.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.polly.model.PollyResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
synthesisTask
GetSpeechSynthesisTaskResponse.Builder synthesisTask(SynthesisTask synthesisTask)
SynthesisTask object that provides information from the requested task, including output format, creation time, task status, and so on.
- Parameters:
synthesisTask- SynthesisTask object that provides information from the requested task, including output format, creation time, task status, and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
synthesisTask
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 method that creates an instance of theSynthesisTask.Builderavoiding the need to create one manually viaSynthesisTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosynthesisTask(SynthesisTask).- Parameters:
synthesisTask- a consumer that will call methods onSynthesisTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
synthesisTask(SynthesisTask)
-
-