Struct aws_sdk_connect::operation::list_phone_numbers::builders::ListPhoneNumbersInputBuilder
source · #[non_exhaustive]pub struct ListPhoneNumbersInputBuilder { /* private fields */ }
Expand description
A builder for ListPhoneNumbersInput
.
Implementations§
source§impl ListPhoneNumbersInputBuilder
impl ListPhoneNumbersInputBuilder
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. 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. 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. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn phone_number_types(self, input: PhoneNumberType) -> Self
pub fn phone_number_types(self, input: PhoneNumberType) -> Self
Appends an item to phone_number_types
.
To override the contents of this collection use set_phone_number_types
.
The type of phone number.
sourcepub fn set_phone_number_types(self, input: Option<Vec<PhoneNumberType>>) -> Self
pub fn set_phone_number_types(self, input: Option<Vec<PhoneNumberType>>) -> Self
The type of phone number.
sourcepub fn get_phone_number_types(&self) -> &Option<Vec<PhoneNumberType>>
pub fn get_phone_number_types(&self) -> &Option<Vec<PhoneNumberType>>
The type of phone number.
sourcepub fn phone_number_country_codes(self, input: PhoneNumberCountryCode) -> Self
pub fn phone_number_country_codes(self, input: PhoneNumberCountryCode) -> Self
Appends an item to phone_number_country_codes
.
To override the contents of this collection use set_phone_number_country_codes
.
The ISO country code.
sourcepub fn set_phone_number_country_codes(
self,
input: Option<Vec<PhoneNumberCountryCode>>
) -> Self
pub fn set_phone_number_country_codes( self, input: Option<Vec<PhoneNumberCountryCode>> ) -> Self
The ISO country code.
sourcepub fn get_phone_number_country_codes(
&self
) -> &Option<Vec<PhoneNumberCountryCode>>
pub fn get_phone_number_country_codes( &self ) -> &Option<Vec<PhoneNumberCountryCode>>
The ISO country code.
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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 max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per page. The default MaxResult size is 100.
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. The default MaxResult size is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return per page. The default MaxResult size is 100.
sourcepub fn build(self) -> Result<ListPhoneNumbersInput, BuildError>
pub fn build(self) -> Result<ListPhoneNumbersInput, BuildError>
Consumes the builder and constructs a ListPhoneNumbersInput
.
source§impl ListPhoneNumbersInputBuilder
impl ListPhoneNumbersInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListPhoneNumbersOutput, SdkError<ListPhoneNumbersError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListPhoneNumbersOutput, SdkError<ListPhoneNumbersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListPhoneNumbersInputBuilder
impl Clone for ListPhoneNumbersInputBuilder
source§fn clone(&self) -> ListPhoneNumbersInputBuilder
fn clone(&self) -> ListPhoneNumbersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListPhoneNumbersInputBuilder
impl Debug for ListPhoneNumbersInputBuilder
source§impl Default for ListPhoneNumbersInputBuilder
impl Default for ListPhoneNumbersInputBuilder
source§fn default() -> ListPhoneNumbersInputBuilder
fn default() -> ListPhoneNumbersInputBuilder
source§impl PartialEq<ListPhoneNumbersInputBuilder> for ListPhoneNumbersInputBuilder
impl PartialEq<ListPhoneNumbersInputBuilder> for ListPhoneNumbersInputBuilder
source§fn eq(&self, other: &ListPhoneNumbersInputBuilder) -> bool
fn eq(&self, other: &ListPhoneNumbersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.