Struct aws_sdk_connect::operation::update_phone_number::builders::UpdatePhoneNumberInputBuilder
source · #[non_exhaustive]pub struct UpdatePhoneNumberInputBuilder { /* private fields */ }
Expand description
A builder for UpdatePhoneNumberInput
.
Implementations§
source§impl UpdatePhoneNumberInputBuilder
impl UpdatePhoneNumberInputBuilder
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 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 client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn build(self) -> Result<UpdatePhoneNumberInput, BuildError>
pub fn build(self) -> Result<UpdatePhoneNumberInput, BuildError>
Consumes the builder and constructs a UpdatePhoneNumberInput
.
Trait Implementations§
source§impl Clone for UpdatePhoneNumberInputBuilder
impl Clone for UpdatePhoneNumberInputBuilder
source§fn clone(&self) -> UpdatePhoneNumberInputBuilder
fn clone(&self) -> UpdatePhoneNumberInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdatePhoneNumberInputBuilder
impl Default for UpdatePhoneNumberInputBuilder
source§fn default() -> UpdatePhoneNumberInputBuilder
fn default() -> UpdatePhoneNumberInputBuilder
source§impl PartialEq<UpdatePhoneNumberInputBuilder> for UpdatePhoneNumberInputBuilder
impl PartialEq<UpdatePhoneNumberInputBuilder> for UpdatePhoneNumberInputBuilder
source§fn eq(&self, other: &UpdatePhoneNumberInputBuilder) -> bool
fn eq(&self, other: &UpdatePhoneNumberInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.