Interface ListSpeechSynthesisTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSpeechSynthesisTasksResponse.Builder,
,ListSpeechSynthesisTasksResponse> PollyResponse.Builder
,SdkBuilder<ListSpeechSynthesisTasksResponse.Builder,
,ListSpeechSynthesisTasksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSpeechSynthesisTasksResponse
-
Method Summary
Modifier and TypeMethodDescriptionAn opaque pagination token returned from the previous List operation in this request.synthesisTasks
(Collection<SynthesisTask> synthesisTasks) List of SynthesisTask objects that provides information from the specified task in the list request, including output format, creation time, task status, and so on.synthesisTasks
(Consumer<SynthesisTask.Builder>... synthesisTasks) List of SynthesisTask objects that provides information from the specified task in the list request, including output format, creation time, task status, and so on.synthesisTasks
(SynthesisTask... synthesisTasks) List of SynthesisTask objects that provides information from the specified task in the list request, 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 Details
-
nextToken
An opaque pagination token returned from the previous List operation in this request. If present, this indicates where to continue the listing.
- Parameters:
nextToken
- An opaque pagination token returned from the previous List operation in this request. If present, this indicates where to continue the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
synthesisTasks
List of SynthesisTask objects that provides information from the specified task in the list request, including output format, creation time, task status, and so on.
- Parameters:
synthesisTasks
- List of SynthesisTask objects that provides information from the specified task in the list request, 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.
-
synthesisTasks
List of SynthesisTask objects that provides information from the specified task in the list request, including output format, creation time, task status, and so on.
- Parameters:
synthesisTasks
- List of SynthesisTask objects that provides information from the specified task in the list request, 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.
-
synthesisTasks
ListSpeechSynthesisTasksResponse.Builder synthesisTasks(Consumer<SynthesisTask.Builder>... synthesisTasks) List of SynthesisTask objects that provides information from the specified task in the list request, including output format, creation time, task status, and so on.
This is a convenience method that creates an instance of theSynthesisTask.Builder
avoiding the need to create one manually viaSynthesisTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosynthesisTasks(List<SynthesisTask>)
.- Parameters:
synthesisTasks
- 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:
-