Struct aws_sdk_transcribe::types::builders::MediaBuilder
source · #[non_exhaustive]pub struct MediaBuilder { /* private fields */ }
Expand description
A builder for Media
.
Implementations§
source§impl MediaBuilder
impl MediaBuilder
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 get_media_file_uri(&self) -> &Option<String>
pub fn get_media_file_uri(&self) -> &Option<String>
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
produces a redacted audio file in addition to a redacted transcript. It 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
produces a redacted audio file in addition to a redacted transcript. It is only supported for Call Analytics (StartCallAnalyticsJob
) transcription requests.
sourcepub fn get_redacted_media_file_uri(&self) -> &Option<String>
pub fn get_redacted_media_file_uri(&self) -> &Option<String>
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
produces a redacted audio file in addition to a redacted transcript. It is only supported for Call Analytics (StartCallAnalyticsJob
) transcription requests.
Trait Implementations§
source§impl Clone for MediaBuilder
impl Clone for MediaBuilder
source§fn clone(&self) -> MediaBuilder
fn clone(&self) -> MediaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MediaBuilder
impl Debug for MediaBuilder
source§impl Default for MediaBuilder
impl Default for MediaBuilder
source§fn default() -> MediaBuilder
fn default() -> MediaBuilder
source§impl PartialEq for MediaBuilder
impl PartialEq for MediaBuilder
source§fn eq(&self, other: &MediaBuilder) -> bool
fn eq(&self, other: &MediaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.