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 ==.impl StructuralPartialEq for MediaBuilder
Auto Trait Implementations§
impl Freeze for MediaBuilder
impl RefUnwindSafe for MediaBuilder
impl Send for MediaBuilder
impl Sync for MediaBuilder
impl Unpin for MediaBuilder
impl UnwindSafe for MediaBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more