Struct aws_sdk_transcribe::types::builders::SubtitlesOutputBuilder
source · #[non_exhaustive]pub struct SubtitlesOutputBuilder { /* private fields */ }Expand description
A builder for SubtitlesOutput.
Implementations§
source§impl SubtitlesOutputBuilder
impl SubtitlesOutputBuilder
sourcepub fn formats(self, input: SubtitleFormat) -> Self
pub fn formats(self, input: SubtitleFormat) -> Self
Appends an item to formats.
To override the contents of this collection use set_formats.
Provides the format of your subtitle files. If your request included both WebVTT (vtt) and SubRip (srt) formats, both formats are shown.
sourcepub fn set_formats(self, input: Option<Vec<SubtitleFormat>>) -> Self
pub fn set_formats(self, input: Option<Vec<SubtitleFormat>>) -> Self
Provides the format of your subtitle files. If your request included both WebVTT (vtt) and SubRip (srt) formats, both formats are shown.
sourcepub fn get_formats(&self) -> &Option<Vec<SubtitleFormat>>
pub fn get_formats(&self) -> &Option<Vec<SubtitleFormat>>
Provides the format of your subtitle files. If your request included both WebVTT (vtt) and SubRip (srt) formats, both formats are shown.
sourcepub fn subtitle_file_uris(self, input: impl Into<String>) -> Self
pub fn subtitle_file_uris(self, input: impl Into<String>) -> Self
Appends an item to subtitle_file_uris.
To override the contents of this collection use set_subtitle_file_uris.
The Amazon S3 location of your transcript. You can use this URI to access or download your subtitle file. Your subtitle file is stored in the same location as your transcript. If you specified both WebVTT and SubRip subtitle formats, two URIs are provided.
If you included OutputBucketName in your transcription job request, this is the URI of that bucket. If you also included OutputKey in your request, your output is located in the path you specified in your request.
If you didn't include OutputBucketName in your transcription job request, your subtitle file is stored in a service-managed bucket, and TranscriptFileUri provides you with a temporary URI you can use for secure access to your subtitle file.
Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 minutes. If you get an AccesDenied error, you can get a new temporary URI by running a GetTranscriptionJob or ListTranscriptionJob request.
sourcepub fn set_subtitle_file_uris(self, input: Option<Vec<String>>) -> Self
pub fn set_subtitle_file_uris(self, input: Option<Vec<String>>) -> Self
The Amazon S3 location of your transcript. You can use this URI to access or download your subtitle file. Your subtitle file is stored in the same location as your transcript. If you specified both WebVTT and SubRip subtitle formats, two URIs are provided.
If you included OutputBucketName in your transcription job request, this is the URI of that bucket. If you also included OutputKey in your request, your output is located in the path you specified in your request.
If you didn't include OutputBucketName in your transcription job request, your subtitle file is stored in a service-managed bucket, and TranscriptFileUri provides you with a temporary URI you can use for secure access to your subtitle file.
Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 minutes. If you get an AccesDenied error, you can get a new temporary URI by running a GetTranscriptionJob or ListTranscriptionJob request.
sourcepub fn get_subtitle_file_uris(&self) -> &Option<Vec<String>>
pub fn get_subtitle_file_uris(&self) -> &Option<Vec<String>>
The Amazon S3 location of your transcript. You can use this URI to access or download your subtitle file. Your subtitle file is stored in the same location as your transcript. If you specified both WebVTT and SubRip subtitle formats, two URIs are provided.
If you included OutputBucketName in your transcription job request, this is the URI of that bucket. If you also included OutputKey in your request, your output is located in the path you specified in your request.
If you didn't include OutputBucketName in your transcription job request, your subtitle file is stored in a service-managed bucket, and TranscriptFileUri provides you with a temporary URI you can use for secure access to your subtitle file.
Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 minutes. If you get an AccesDenied error, you can get a new temporary URI by running a GetTranscriptionJob or ListTranscriptionJob request.
sourcepub fn output_start_index(self, input: i32) -> Self
pub fn output_start_index(self, input: i32) -> Self
Provides the start index value for your subtitle files. If you did not specify a value in your request, the default value of 0 is used.
sourcepub fn set_output_start_index(self, input: Option<i32>) -> Self
pub fn set_output_start_index(self, input: Option<i32>) -> Self
Provides the start index value for your subtitle files. If you did not specify a value in your request, the default value of 0 is used.
sourcepub fn get_output_start_index(&self) -> &Option<i32>
pub fn get_output_start_index(&self) -> &Option<i32>
Provides the start index value for your subtitle files. If you did not specify a value in your request, the default value of 0 is used.
sourcepub fn build(self) -> SubtitlesOutput
pub fn build(self) -> SubtitlesOutput
Consumes the builder and constructs a SubtitlesOutput.
Trait Implementations§
source§impl Clone for SubtitlesOutputBuilder
impl Clone for SubtitlesOutputBuilder
source§fn clone(&self) -> SubtitlesOutputBuilder
fn clone(&self) -> SubtitlesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SubtitlesOutputBuilder
impl Debug for SubtitlesOutputBuilder
source§impl Default for SubtitlesOutputBuilder
impl Default for SubtitlesOutputBuilder
source§fn default() -> SubtitlesOutputBuilder
fn default() -> SubtitlesOutputBuilder
source§impl PartialEq for SubtitlesOutputBuilder
impl PartialEq for SubtitlesOutputBuilder
source§fn eq(&self, other: &SubtitlesOutputBuilder) -> bool
fn eq(&self, other: &SubtitlesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SubtitlesOutputBuilder
Auto Trait Implementations§
impl Freeze for SubtitlesOutputBuilder
impl RefUnwindSafe for SubtitlesOutputBuilder
impl Send for SubtitlesOutputBuilder
impl Sync for SubtitlesOutputBuilder
impl Unpin for SubtitlesOutputBuilder
impl UnwindSafe for SubtitlesOutputBuilder
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