Struct aws_sdk_chime::operation::associate_phone_numbers_with_voice_connector::builders::AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
source · #[non_exhaustive]pub struct AssociatePhoneNumbersWithVoiceConnectorOutputBuilder { /* private fields */ }
Expand description
A builder for AssociatePhoneNumbersWithVoiceConnectorOutput
.
Implementations§
source§impl AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
impl AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
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) -> AssociatePhoneNumbersWithVoiceConnectorOutput
pub fn build(self) -> AssociatePhoneNumbersWithVoiceConnectorOutput
Consumes the builder and constructs a AssociatePhoneNumbersWithVoiceConnectorOutput
.
Trait Implementations§
source§impl Clone for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
impl Clone for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
source§fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
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 AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
impl Default for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
source§fn default() -> AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
fn default() -> AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
impl PartialEq for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
source§fn eq(
&self,
other: &AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
) -> bool
fn eq( &self, other: &AssociatePhoneNumbersWithVoiceConnectorOutputBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
Auto Trait Implementations§
impl Freeze for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
impl RefUnwindSafe for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
impl Send for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
impl Sync for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
impl Unpin for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
impl UnwindSafe for AssociatePhoneNumbersWithVoiceConnectorOutputBuilder
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.