#[non_exhaustive]pub struct ListPhoneNumbersSummaryBuilder { /* private fields */ }
Expand description
A builder for ListPhoneNumbersSummary
.
Implementations§
source§impl ListPhoneNumbersSummaryBuilder
impl ListPhoneNumbersSummaryBuilder
sourcepub fn phone_number_id(self, input: impl Into<String>) -> Self
pub fn phone_number_id(self, input: impl Into<String>) -> Self
A unique identifier for the phone number.
sourcepub fn set_phone_number_id(self, input: Option<String>) -> Self
pub fn set_phone_number_id(self, input: Option<String>) -> Self
A unique identifier for the phone number.
sourcepub fn phone_number_arn(self, input: impl Into<String>) -> Self
pub fn phone_number_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the phone number.
sourcepub fn set_phone_number_arn(self, input: Option<String>) -> Self
pub fn set_phone_number_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. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
sourcepub fn set_phone_number(self, input: Option<String>) -> Self
pub fn set_phone_number(self, input: Option<String>) -> Self
The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
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 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 target_arn(self, input: impl Into<String>) -> Self
pub fn target_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
sourcepub fn set_target_arn(self, input: Option<String>) -> Self
pub fn set_target_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
sourcepub fn build(self) -> ListPhoneNumbersSummary
pub fn build(self) -> ListPhoneNumbersSummary
Consumes the builder and constructs a ListPhoneNumbersSummary
.
Trait Implementations§
source§impl Clone for ListPhoneNumbersSummaryBuilder
impl Clone for ListPhoneNumbersSummaryBuilder
source§fn clone(&self) -> ListPhoneNumbersSummaryBuilder
fn clone(&self) -> ListPhoneNumbersSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListPhoneNumbersSummaryBuilder
impl Default for ListPhoneNumbersSummaryBuilder
source§fn default() -> ListPhoneNumbersSummaryBuilder
fn default() -> ListPhoneNumbersSummaryBuilder
source§impl PartialEq<ListPhoneNumbersSummaryBuilder> for ListPhoneNumbersSummaryBuilder
impl PartialEq<ListPhoneNumbersSummaryBuilder> for ListPhoneNumbersSummaryBuilder
source§fn eq(&self, other: &ListPhoneNumbersSummaryBuilder) -> bool
fn eq(&self, other: &ListPhoneNumbersSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.