Interface SyncMedia.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SyncMedia.Builder,,SyncMedia> SdkBuilder<SyncMedia.Builder,,SyncMedia> SdkPojo
- Enclosing class:
SyncMedia
-
Method Summary
Modifier and TypeMethodDescriptionmediaBytes(SdkBytes mediaBytes) Your audio file, provided inline in the request.mediaFileUri(String mediaFileUri) The Amazon S3 location of the media file you want to transcribe.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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.
-
-