Struct aws_sdk_connect::operation::search_available_phone_numbers::builders::SearchAvailablePhoneNumbersInputBuilder
source · #[non_exhaustive]pub struct SearchAvailablePhoneNumbersInputBuilder { /* private fields */ }
Expand description
A builder for SearchAvailablePhoneNumbersInput
.
Implementations§
source§impl SearchAvailablePhoneNumbersInputBuilder
impl SearchAvailablePhoneNumbersInputBuilder
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 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 phone_number_prefix(self, input: impl Into<String>) -> Self
pub fn phone_number_prefix(self, input: impl Into<String>) -> Self
The prefix of the phone number. If provided, it must contain +
as part of the country code.
sourcepub fn set_phone_number_prefix(self, input: Option<String>) -> Self
pub fn set_phone_number_prefix(self, input: Option<String>) -> Self
The prefix of the phone number. If provided, it must contain +
as part of the country code.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return per page.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn build(self) -> Result<SearchAvailablePhoneNumbersInput, BuildError>
pub fn build(self) -> Result<SearchAvailablePhoneNumbersInput, BuildError>
Consumes the builder and constructs a SearchAvailablePhoneNumbersInput
.
Trait Implementations§
source§impl Clone for SearchAvailablePhoneNumbersInputBuilder
impl Clone for SearchAvailablePhoneNumbersInputBuilder
source§fn clone(&self) -> SearchAvailablePhoneNumbersInputBuilder
fn clone(&self) -> SearchAvailablePhoneNumbersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SearchAvailablePhoneNumbersInputBuilder
impl Default for SearchAvailablePhoneNumbersInputBuilder
source§fn default() -> SearchAvailablePhoneNumbersInputBuilder
fn default() -> SearchAvailablePhoneNumbersInputBuilder
source§impl PartialEq<SearchAvailablePhoneNumbersInputBuilder> for SearchAvailablePhoneNumbersInputBuilder
impl PartialEq<SearchAvailablePhoneNumbersInputBuilder> for SearchAvailablePhoneNumbersInputBuilder
source§fn eq(&self, other: &SearchAvailablePhoneNumbersInputBuilder) -> bool
fn eq(&self, other: &SearchAvailablePhoneNumbersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.