#[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 get_phone_number_id(&self) -> &Option<String>
pub fn get_phone_number_id(&self) -> &Option<String>
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 get_phone_number_arn(&self) -> &Option<String>
pub fn get_phone_number_arn(&self) -> &Option<String>
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 get_phone_number(&self) -> &Option<String>
pub fn get_phone_number(&self) -> &Option<String>
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 get_phone_number_country_code(&self) -> &Option<PhoneNumberCountryCode>
pub fn get_phone_number_country_code(&self) -> &Option<PhoneNumberCountryCode>
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 get_phone_number_type(&self) -> &Option<PhoneNumberType>
pub fn get_phone_number_type(&self) -> &Option<PhoneNumberType>
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 number inbound traffic is routed through.
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 number inbound traffic is routed through.
sourcepub fn get_target_arn(&self) -> &Option<String>
pub fn get_target_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn phone_number_description(self, input: impl Into<String>) -> Self
pub fn phone_number_description(self, input: impl Into<String>) -> Self
The description of the phone number.
sourcepub fn set_phone_number_description(self, input: Option<String>) -> Self
pub fn set_phone_number_description(self, input: Option<String>) -> Self
The description of the phone number.
sourcepub fn get_phone_number_description(&self) -> &Option<String>
pub fn get_phone_number_description(&self) -> &Option<String>
The description of the phone number.
sourcepub fn source_phone_number_arn(self, input: impl Into<String>) -> Self
pub fn source_phone_number_arn(self, input: impl Into<String>) -> Self
The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
sourcepub fn set_source_phone_number_arn(self, input: Option<String>) -> Self
pub fn set_source_phone_number_arn(self, input: Option<String>) -> Self
The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
sourcepub fn get_source_phone_number_arn(&self) -> &Option<String>
pub fn get_source_phone_number_arn(&self) -> &Option<String>
The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
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 for ListPhoneNumbersSummaryBuilder
impl PartialEq 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 ==
.