Struct aws_sdk_chime::operation::list_supported_phone_number_countries::builders::ListSupportedPhoneNumberCountriesOutputBuilder
source · #[non_exhaustive]pub struct ListSupportedPhoneNumberCountriesOutputBuilder { /* private fields */ }
Expand description
A builder for ListSupportedPhoneNumberCountriesOutput
.
Implementations§
source§impl ListSupportedPhoneNumberCountriesOutputBuilder
impl ListSupportedPhoneNumberCountriesOutputBuilder
sourcepub fn phone_number_countries(self, input: PhoneNumberCountry) -> Self
pub fn phone_number_countries(self, input: PhoneNumberCountry) -> Self
Appends an item to phone_number_countries
.
To override the contents of this collection use set_phone_number_countries
.
The supported phone number countries.
sourcepub fn set_phone_number_countries(
self,
input: Option<Vec<PhoneNumberCountry>>
) -> Self
pub fn set_phone_number_countries( self, input: Option<Vec<PhoneNumberCountry>> ) -> Self
The supported phone number countries.
sourcepub fn get_phone_number_countries(&self) -> &Option<Vec<PhoneNumberCountry>>
pub fn get_phone_number_countries(&self) -> &Option<Vec<PhoneNumberCountry>>
The supported phone number countries.
sourcepub fn build(self) -> ListSupportedPhoneNumberCountriesOutput
pub fn build(self) -> ListSupportedPhoneNumberCountriesOutput
Consumes the builder and constructs a ListSupportedPhoneNumberCountriesOutput
.
Trait Implementations§
source§impl Clone for ListSupportedPhoneNumberCountriesOutputBuilder
impl Clone for ListSupportedPhoneNumberCountriesOutputBuilder
source§fn clone(&self) -> ListSupportedPhoneNumberCountriesOutputBuilder
fn clone(&self) -> ListSupportedPhoneNumberCountriesOutputBuilder
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 ListSupportedPhoneNumberCountriesOutputBuilder
impl Default for ListSupportedPhoneNumberCountriesOutputBuilder
source§fn default() -> ListSupportedPhoneNumberCountriesOutputBuilder
fn default() -> ListSupportedPhoneNumberCountriesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListSupportedPhoneNumberCountriesOutputBuilder
impl PartialEq for ListSupportedPhoneNumberCountriesOutputBuilder
source§fn eq(&self, other: &ListSupportedPhoneNumberCountriesOutputBuilder) -> bool
fn eq(&self, other: &ListSupportedPhoneNumberCountriesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListSupportedPhoneNumberCountriesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListSupportedPhoneNumberCountriesOutputBuilder
impl RefUnwindSafe for ListSupportedPhoneNumberCountriesOutputBuilder
impl Send for ListSupportedPhoneNumberCountriesOutputBuilder
impl Sync for ListSupportedPhoneNumberCountriesOutputBuilder
impl Unpin for ListSupportedPhoneNumberCountriesOutputBuilder
impl UnwindSafe for ListSupportedPhoneNumberCountriesOutputBuilder
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.