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