Struct aws_sdk_chime::types::builders::PhoneNumberCountryBuilder
source · #[non_exhaustive]pub struct PhoneNumberCountryBuilder { /* private fields */ }
Expand description
A builder for PhoneNumberCountry
.
Implementations§
source§impl PhoneNumberCountryBuilder
impl PhoneNumberCountryBuilder
sourcepub fn country_code(self, input: impl Into<String>) -> Self
pub fn country_code(self, input: impl Into<String>) -> Self
The phone number country code. Format: ISO 3166-1 alpha-2.
sourcepub fn set_country_code(self, input: Option<String>) -> Self
pub fn set_country_code(self, input: Option<String>) -> Self
The phone number country code. Format: ISO 3166-1 alpha-2.
sourcepub fn get_country_code(&self) -> &Option<String>
pub fn get_country_code(&self) -> &Option<String>
The phone number country code. Format: ISO 3166-1 alpha-2.
sourcepub fn supported_phone_number_types(self, input: PhoneNumberType) -> Self
pub fn supported_phone_number_types(self, input: PhoneNumberType) -> Self
Appends an item to supported_phone_number_types
.
To override the contents of this collection use set_supported_phone_number_types
.
The supported phone number types.
sourcepub fn set_supported_phone_number_types(
self,
input: Option<Vec<PhoneNumberType>>
) -> Self
pub fn set_supported_phone_number_types( self, input: Option<Vec<PhoneNumberType>> ) -> Self
The supported phone number types.
sourcepub fn get_supported_phone_number_types(&self) -> &Option<Vec<PhoneNumberType>>
pub fn get_supported_phone_number_types(&self) -> &Option<Vec<PhoneNumberType>>
The supported phone number types.
sourcepub fn build(self) -> PhoneNumberCountry
pub fn build(self) -> PhoneNumberCountry
Consumes the builder and constructs a PhoneNumberCountry
.
Trait Implementations§
source§impl Clone for PhoneNumberCountryBuilder
impl Clone for PhoneNumberCountryBuilder
source§fn clone(&self) -> PhoneNumberCountryBuilder
fn clone(&self) -> PhoneNumberCountryBuilder
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 PhoneNumberCountryBuilder
impl Debug for PhoneNumberCountryBuilder
source§impl Default for PhoneNumberCountryBuilder
impl Default for PhoneNumberCountryBuilder
source§fn default() -> PhoneNumberCountryBuilder
fn default() -> PhoneNumberCountryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PhoneNumberCountryBuilder
impl PartialEq for PhoneNumberCountryBuilder
source§fn eq(&self, other: &PhoneNumberCountryBuilder) -> bool
fn eq(&self, other: &PhoneNumberCountryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PhoneNumberCountryBuilder
Auto Trait Implementations§
impl Freeze for PhoneNumberCountryBuilder
impl RefUnwindSafe for PhoneNumberCountryBuilder
impl Send for PhoneNumberCountryBuilder
impl Sync for PhoneNumberCountryBuilder
impl Unpin for PhoneNumberCountryBuilder
impl UnwindSafe for PhoneNumberCountryBuilder
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>
Creates a shared type from an unshared type.