Interface ListSpeechSynthesisTasksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSpeechSynthesisTasksResponse.Builder,ListSpeechSynthesisTasksResponse>,PollyResponse.Builder,SdkBuilder<ListSpeechSynthesisTasksResponse.Builder,ListSpeechSynthesisTasksResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSpeechSynthesisTasksResponse
public static interface ListSpeechSynthesisTasksResponse.Builder extends PollyResponse.Builder, SdkPojo, CopyableBuilder<ListSpeechSynthesisTasksResponse.Builder,ListSpeechSynthesisTasksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSpeechSynthesisTasksResponse.BuildernextToken(String nextToken)An opaque pagination token returned from the previous List operation in this request.ListSpeechSynthesisTasksResponse.BuildersynthesisTasks(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.ListSpeechSynthesisTasksResponse.BuildersynthesisTasks(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.ListSpeechSynthesisTasksResponse.BuildersynthesisTasks(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListSpeechSynthesisTasksResponse.Builder nextToken(String 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
ListSpeechSynthesisTasksResponse.Builder 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.
- 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(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.
- 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.Builderavoiding the need to create one manually viaSynthesisTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#synthesisTasks(List.) - 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:
#synthesisTasks(java.util.Collection)
-
-