Struct aws_sdk_mediaconvert::types::builders::WarningGroupBuilder
source · #[non_exhaustive]pub struct WarningGroupBuilder { /* private fields */ }
Expand description
A builder for WarningGroup
.
Implementations§
source§impl WarningGroupBuilder
impl WarningGroupBuilder
sourcepub fn code(self, input: i32) -> Self
pub fn code(self, input: i32) -> Self
Warning code that identifies a specific warning in the job. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/warning_codes.html This field is required.
sourcepub fn set_code(self, input: Option<i32>) -> Self
pub fn set_code(self, input: Option<i32>) -> Self
Warning code that identifies a specific warning in the job. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/warning_codes.html
sourcepub fn get_code(&self) -> &Option<i32>
pub fn get_code(&self) -> &Option<i32>
Warning code that identifies a specific warning in the job. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/warning_codes.html
sourcepub fn count(self, input: i32) -> Self
pub fn count(self, input: i32) -> Self
The number of times this warning occurred in the job. This field is required.
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The number of times this warning occurred in the job.
sourcepub fn build(self) -> WarningGroup
pub fn build(self) -> WarningGroup
Consumes the builder and constructs a WarningGroup
.
Trait Implementations§
source§impl Clone for WarningGroupBuilder
impl Clone for WarningGroupBuilder
source§fn clone(&self) -> WarningGroupBuilder
fn clone(&self) -> WarningGroupBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WarningGroupBuilder
impl Debug for WarningGroupBuilder
source§impl Default for WarningGroupBuilder
impl Default for WarningGroupBuilder
source§fn default() -> WarningGroupBuilder
fn default() -> WarningGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for WarningGroupBuilder
impl PartialEq for WarningGroupBuilder
source§fn eq(&self, other: &WarningGroupBuilder) -> bool
fn eq(&self, other: &WarningGroupBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WarningGroupBuilder
Auto Trait Implementations§
impl Freeze for WarningGroupBuilder
impl RefUnwindSafe for WarningGroupBuilder
impl Send for WarningGroupBuilder
impl Sync for WarningGroupBuilder
impl Unpin for WarningGroupBuilder
impl UnwindSafe for WarningGroupBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.