Interface DescribeVoicesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeVoicesResponse.Builder,DescribeVoicesResponse>, PollyResponse.Builder, SdkBuilder<DescribeVoicesResponse.Builder,DescribeVoicesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeVoicesResponse

public static interface DescribeVoicesResponse.Builder extends PollyResponse.Builder, SdkPojo, CopyableBuilder<DescribeVoicesResponse.Builder,DescribeVoicesResponse>
  • Method Details

    • voices

      A list of voices with their properties.

      Parameters:
      voices - A list of voices with their properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • voices

      A list of voices with their properties.

      Parameters:
      voices - A list of voices with their properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • voices

      A list of voices with their properties.

      This is a convenience method that creates an instance of the Voice.Builder avoiding the need to create one manually via Voice.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to voices(List<Voice>).

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

      DescribeVoicesResponse.Builder nextToken(String nextToken)

      The pagination token to use in the next request to continue the listing of voices. NextToken is returned only if the response is truncated.

      Parameters:
      nextToken - The pagination token to use in the next request to continue the listing of voices. NextToken is returned only if the response is truncated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.