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 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

      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

      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 the SynthesisTask.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 synthesisTasks(List<SynthesisTask>).

      Parameters:
      synthesisTasks - a consumer that will call methods on SynthesisTask.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: