Interface SyncMedia.Builder

  • Method Details

    • mediaBytes

      SyncMedia.Builder mediaBytes(SdkBytes mediaBytes)

      Your audio file, provided inline in the request. The maximum size is 25 MB (26,214,400 bytes) of audio, measured before base64 encoding.

      If you use an Amazon Web Services SDK, the SDK base64-encodes the bytes for you. If you call the API directly, base64-encode the bytes yourself.

      Parameters:
      mediaBytes - Your audio file, provided inline in the request. The maximum size is 25 MB (26,214,400 bytes) of audio, measured before base64 encoding.

      If you use an Amazon Web Services SDK, the SDK base64-encodes the bytes for you. If you call the API directly, base64-encode the bytes yourself.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaFileUri

      SyncMedia.Builder mediaFileUri(String mediaFileUri)

      The Amazon S3 location of the media file you want to transcribe. For example:

      • s3://amzn-s3-demo-bucket/my-media-file.flac

      • s3://amzn-s3-demo-bucket/media-files/my-media-file.flac

      The maximum file size is 500 MB. You must have read permission for the file.

      The Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request.

      Parameters:
      mediaFileUri - The Amazon S3 location of the media file you want to transcribe. For example:

      • s3://amzn-s3-demo-bucket/my-media-file.flac

      • s3://amzn-s3-demo-bucket/media-files/my-media-file.flac

      The maximum file size is 500 MB. You must have read permission for the file.

      The Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request.

      Returns:
      Returns a reference to this object so that method calls can be chained together.