Interface RecordingData.Builder

  • Method Details

    • s3Url

      The Amazon S3 URL of the audio object, in the form s3://bucket/key. You need s3:GetObject permission on the object.

      Parameters:
      s3Url - The Amazon S3 URL of the audio object, in the form s3://bucket/key. You need s3:GetObject permission on the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bytes

      The audio data, passed directly in the request. The data must be in the format that Format specifies and can be up to 5 MB. Amazon Polly doesn't store the audio after it creates the voice, and doesn't return this field in responses.

      Parameters:
      bytes - The audio data, passed directly in the request. The data must be in the format that Format specifies and can be up to 5 MB. Amazon Polly doesn't store the audio after it creates the voice, and doesn't return this field in responses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.