pub struct Builder { /* private fields */ }Expand description
A builder for Media.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn media_file_uri(self, input: impl Into<String>) -> Self
pub fn media_file_uri(self, input: impl Into<String>) -> Self
The Amazon S3 location of the media file you want to transcribe. For example:
-
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac -
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
Note that 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.
sourcepub fn set_media_file_uri(self, input: Option<String>) -> Self
pub fn set_media_file_uri(self, input: Option<String>) -> Self
The Amazon S3 location of the media file you want to transcribe. For example:
-
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac -
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
Note that 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.
sourcepub fn redacted_media_file_uri(self, input: impl Into<String>) -> Self
pub fn redacted_media_file_uri(self, input: impl Into<String>) -> Self
The Amazon S3 location of the media file you want to redact. For example:
-
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac -
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
Note that 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.
RedactedMediaFileUri is only supported for Call Analytics (StartCallAnalyticsJob) transcription requests.
sourcepub fn set_redacted_media_file_uri(self, input: Option<String>) -> Self
pub fn set_redacted_media_file_uri(self, input: Option<String>) -> Self
The Amazon S3 location of the media file you want to redact. For example:
-
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac -
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
Note that 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.
RedactedMediaFileUri is only supported for Call Analytics (StartCallAnalyticsJob) transcription requests.