#[non_exhaustive]pub struct AutomatedAbrSettingsBuilder { /* private fields */ }
Expand description
A builder for AutomatedAbrSettings
.
Implementations§
source§impl AutomatedAbrSettingsBuilder
impl AutomatedAbrSettingsBuilder
sourcepub fn max_abr_bitrate(self, input: i32) -> Self
pub fn max_abr_bitrate(self, input: i32) -> Self
Specify the maximum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 8,000,000 (8 mb/s) by default. The average bitrate of your highest-quality rendition will be equal to or below this value, depending on the quality, complexity, and resolution of your content. Note that the instantaneous maximum bitrate may vary above the value that you specify.
sourcepub fn set_max_abr_bitrate(self, input: Option<i32>) -> Self
pub fn set_max_abr_bitrate(self, input: Option<i32>) -> Self
Specify the maximum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 8,000,000 (8 mb/s) by default. The average bitrate of your highest-quality rendition will be equal to or below this value, depending on the quality, complexity, and resolution of your content. Note that the instantaneous maximum bitrate may vary above the value that you specify.
sourcepub fn get_max_abr_bitrate(&self) -> &Option<i32>
pub fn get_max_abr_bitrate(&self) -> &Option<i32>
Specify the maximum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 8,000,000 (8 mb/s) by default. The average bitrate of your highest-quality rendition will be equal to or below this value, depending on the quality, complexity, and resolution of your content. Note that the instantaneous maximum bitrate may vary above the value that you specify.
sourcepub fn max_renditions(self, input: i32) -> Self
pub fn max_renditions(self, input: i32) -> Self
Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set this to Auto in the console, which is equivalent to excluding it from your JSON job specification, MediaConvert defaults to a limit of 15.
sourcepub fn set_max_renditions(self, input: Option<i32>) -> Self
pub fn set_max_renditions(self, input: Option<i32>) -> Self
Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set this to Auto in the console, which is equivalent to excluding it from your JSON job specification, MediaConvert defaults to a limit of 15.
sourcepub fn get_max_renditions(&self) -> &Option<i32>
pub fn get_max_renditions(&self) -> &Option<i32>
Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set this to Auto in the console, which is equivalent to excluding it from your JSON job specification, MediaConvert defaults to a limit of 15.
sourcepub fn min_abr_bitrate(self, input: i32) -> Self
pub fn min_abr_bitrate(self, input: i32) -> Self
Specify the minimum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 600,000 (600 kb/s) by default. The average bitrate of your lowest-quality rendition will be near this value. Note that the instantaneous minimum bitrate may vary below the value that you specify.
sourcepub fn set_min_abr_bitrate(self, input: Option<i32>) -> Self
pub fn set_min_abr_bitrate(self, input: Option<i32>) -> Self
Specify the minimum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 600,000 (600 kb/s) by default. The average bitrate of your lowest-quality rendition will be near this value. Note that the instantaneous minimum bitrate may vary below the value that you specify.
sourcepub fn get_min_abr_bitrate(&self) -> &Option<i32>
pub fn get_min_abr_bitrate(&self) -> &Option<i32>
Specify the minimum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 600,000 (600 kb/s) by default. The average bitrate of your lowest-quality rendition will be near this value. Note that the instantaneous minimum bitrate may vary below the value that you specify.
sourcepub fn rules(self, input: AutomatedAbrRule) -> Self
pub fn rules(self, input: AutomatedAbrRule) -> Self
Appends an item to rules
.
To override the contents of this collection use set_rules
.
Optional. Use Automated ABR rules to specify restrictions for the rendition sizes MediaConvert will create in your ABR stack. You can use these rules if your ABR workflow has specific rendition size requirements, but you still want MediaConvert to optimize for video quality and overall file size.
sourcepub fn set_rules(self, input: Option<Vec<AutomatedAbrRule>>) -> Self
pub fn set_rules(self, input: Option<Vec<AutomatedAbrRule>>) -> Self
Optional. Use Automated ABR rules to specify restrictions for the rendition sizes MediaConvert will create in your ABR stack. You can use these rules if your ABR workflow has specific rendition size requirements, but you still want MediaConvert to optimize for video quality and overall file size.
sourcepub fn get_rules(&self) -> &Option<Vec<AutomatedAbrRule>>
pub fn get_rules(&self) -> &Option<Vec<AutomatedAbrRule>>
Optional. Use Automated ABR rules to specify restrictions for the rendition sizes MediaConvert will create in your ABR stack. You can use these rules if your ABR workflow has specific rendition size requirements, but you still want MediaConvert to optimize for video quality and overall file size.
sourcepub fn build(self) -> AutomatedAbrSettings
pub fn build(self) -> AutomatedAbrSettings
Consumes the builder and constructs a AutomatedAbrSettings
.
Trait Implementations§
source§impl Clone for AutomatedAbrSettingsBuilder
impl Clone for AutomatedAbrSettingsBuilder
source§fn clone(&self) -> AutomatedAbrSettingsBuilder
fn clone(&self) -> AutomatedAbrSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutomatedAbrSettingsBuilder
impl Debug for AutomatedAbrSettingsBuilder
source§impl Default for AutomatedAbrSettingsBuilder
impl Default for AutomatedAbrSettingsBuilder
source§fn default() -> AutomatedAbrSettingsBuilder
fn default() -> AutomatedAbrSettingsBuilder
source§impl PartialEq for AutomatedAbrSettingsBuilder
impl PartialEq for AutomatedAbrSettingsBuilder
source§fn eq(&self, other: &AutomatedAbrSettingsBuilder) -> bool
fn eq(&self, other: &AutomatedAbrSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomatedAbrSettingsBuilder
Auto Trait Implementations§
impl Freeze for AutomatedAbrSettingsBuilder
impl RefUnwindSafe for AutomatedAbrSettingsBuilder
impl Send for AutomatedAbrSettingsBuilder
impl Sync for AutomatedAbrSettingsBuilder
impl Unpin for AutomatedAbrSettingsBuilder
impl UnwindSafe for AutomatedAbrSettingsBuilder
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