Struct aws_sdk_chime::operation::batch_update_phone_number::builders::BatchUpdatePhoneNumberOutputBuilder
source · #[non_exhaustive]pub struct BatchUpdatePhoneNumberOutputBuilder { /* private fields */ }
Expand description
A builder for BatchUpdatePhoneNumberOutput
.
Implementations§
source§impl BatchUpdatePhoneNumberOutputBuilder
impl BatchUpdatePhoneNumberOutputBuilder
sourcepub fn phone_number_errors(self, input: PhoneNumberError) -> Self
pub fn phone_number_errors(self, input: PhoneNumberError) -> Self
Appends an item to phone_number_errors
.
To override the contents of this collection use set_phone_number_errors
.
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
sourcepub fn set_phone_number_errors(
self,
input: Option<Vec<PhoneNumberError>>
) -> Self
pub fn set_phone_number_errors( self, input: Option<Vec<PhoneNumberError>> ) -> Self
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
sourcepub fn get_phone_number_errors(&self) -> &Option<Vec<PhoneNumberError>>
pub fn get_phone_number_errors(&self) -> &Option<Vec<PhoneNumberError>>
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
sourcepub fn build(self) -> BatchUpdatePhoneNumberOutput
pub fn build(self) -> BatchUpdatePhoneNumberOutput
Consumes the builder and constructs a BatchUpdatePhoneNumberOutput
.
Trait Implementations§
source§impl Clone for BatchUpdatePhoneNumberOutputBuilder
impl Clone for BatchUpdatePhoneNumberOutputBuilder
source§fn clone(&self) -> BatchUpdatePhoneNumberOutputBuilder
fn clone(&self) -> BatchUpdatePhoneNumberOutputBuilder
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 Default for BatchUpdatePhoneNumberOutputBuilder
impl Default for BatchUpdatePhoneNumberOutputBuilder
source§fn default() -> BatchUpdatePhoneNumberOutputBuilder
fn default() -> BatchUpdatePhoneNumberOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchUpdatePhoneNumberOutputBuilder
impl PartialEq for BatchUpdatePhoneNumberOutputBuilder
source§fn eq(&self, other: &BatchUpdatePhoneNumberOutputBuilder) -> bool
fn eq(&self, other: &BatchUpdatePhoneNumberOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchUpdatePhoneNumberOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchUpdatePhoneNumberOutputBuilder
impl RefUnwindSafe for BatchUpdatePhoneNumberOutputBuilder
impl Send for BatchUpdatePhoneNumberOutputBuilder
impl Sync for BatchUpdatePhoneNumberOutputBuilder
impl Unpin for BatchUpdatePhoneNumberOutputBuilder
impl UnwindSafe for BatchUpdatePhoneNumberOutputBuilder
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.