Struct aws_sdk_connect::types::builders::PhoneNumberSummaryBuilder
source · #[non_exhaustive]pub struct PhoneNumberSummaryBuilder { /* private fields */ }
Expand description
A builder for PhoneNumberSummary
.
Implementations§
source§impl PhoneNumberSummaryBuilder
impl PhoneNumberSummaryBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the phone number.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the phone number.
sourcepub fn phone_number(self, input: impl Into<String>) -> Self
pub fn phone_number(self, input: impl Into<String>) -> Self
The phone number.
sourcepub fn set_phone_number(self, input: Option<String>) -> Self
pub fn set_phone_number(self, input: Option<String>) -> Self
The phone number.
sourcepub fn get_phone_number(&self) -> &Option<String>
pub fn get_phone_number(&self) -> &Option<String>
The phone number.
sourcepub fn phone_number_type(self, input: PhoneNumberType) -> Self
pub fn phone_number_type(self, input: PhoneNumberType) -> Self
The type of phone number.
sourcepub fn set_phone_number_type(self, input: Option<PhoneNumberType>) -> Self
pub fn set_phone_number_type(self, input: Option<PhoneNumberType>) -> Self
The type of phone number.
sourcepub fn get_phone_number_type(&self) -> &Option<PhoneNumberType>
pub fn get_phone_number_type(&self) -> &Option<PhoneNumberType>
The type of phone number.
sourcepub fn phone_number_country_code(self, input: PhoneNumberCountryCode) -> Self
pub fn phone_number_country_code(self, input: PhoneNumberCountryCode) -> Self
The ISO country code.
sourcepub fn set_phone_number_country_code(
self,
input: Option<PhoneNumberCountryCode>
) -> Self
pub fn set_phone_number_country_code( self, input: Option<PhoneNumberCountryCode> ) -> Self
The ISO country code.
sourcepub fn get_phone_number_country_code(&self) -> &Option<PhoneNumberCountryCode>
pub fn get_phone_number_country_code(&self) -> &Option<PhoneNumberCountryCode>
The ISO country code.
sourcepub fn build(self) -> PhoneNumberSummary
pub fn build(self) -> PhoneNumberSummary
Consumes the builder and constructs a PhoneNumberSummary
.
Trait Implementations§
source§impl Clone for PhoneNumberSummaryBuilder
impl Clone for PhoneNumberSummaryBuilder
source§fn clone(&self) -> PhoneNumberSummaryBuilder
fn clone(&self) -> PhoneNumberSummaryBuilder
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 PhoneNumberSummaryBuilder
impl Debug for PhoneNumberSummaryBuilder
source§impl Default for PhoneNumberSummaryBuilder
impl Default for PhoneNumberSummaryBuilder
source§fn default() -> PhoneNumberSummaryBuilder
fn default() -> PhoneNumberSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PhoneNumberSummaryBuilder
impl PartialEq for PhoneNumberSummaryBuilder
source§fn eq(&self, other: &PhoneNumberSummaryBuilder) -> bool
fn eq(&self, other: &PhoneNumberSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PhoneNumberSummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhoneNumberSummaryBuilder
impl Send for PhoneNumberSummaryBuilder
impl Sync for PhoneNumberSummaryBuilder
impl Unpin for PhoneNumberSummaryBuilder
impl UnwindSafe for PhoneNumberSummaryBuilder
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.