Struct aws_sdk_connect::operation::update_phone_number_metadata::builders::UpdatePhoneNumberMetadataInputBuilder
source · #[non_exhaustive]pub struct UpdatePhoneNumberMetadataInputBuilder { /* private fields */ }
Expand description
A builder for UpdatePhoneNumberMetadataInput
.
Implementations§
source§impl UpdatePhoneNumberMetadataInputBuilder
impl UpdatePhoneNumberMetadataInputBuilder
sourcepub fn phone_number_id(self, input: impl Into<String>) -> Self
pub fn phone_number_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) or resource ID of the phone number.
This field is required.sourcepub fn set_phone_number_id(self, input: Option<String>) -> Self
pub fn set_phone_number_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) or resource ID of the phone number.
sourcepub fn get_phone_number_id(&self) -> &Option<String>
pub fn get_phone_number_id(&self) -> &Option<String>
The Amazon Resource Name (ARN) or resource ID of the phone number.
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 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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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<UpdatePhoneNumberMetadataInput, BuildError>
pub fn build(self) -> Result<UpdatePhoneNumberMetadataInput, BuildError>
Consumes the builder and constructs a UpdatePhoneNumberMetadataInput
.
source§impl UpdatePhoneNumberMetadataInputBuilder
impl UpdatePhoneNumberMetadataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdatePhoneNumberMetadataOutput, SdkError<UpdatePhoneNumberMetadataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdatePhoneNumberMetadataOutput, SdkError<UpdatePhoneNumberMetadataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePhoneNumberMetadataInputBuilder
impl Clone for UpdatePhoneNumberMetadataInputBuilder
source§fn clone(&self) -> UpdatePhoneNumberMetadataInputBuilder
fn clone(&self) -> UpdatePhoneNumberMetadataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdatePhoneNumberMetadataInputBuilder
impl Default for UpdatePhoneNumberMetadataInputBuilder
source§fn default() -> UpdatePhoneNumberMetadataInputBuilder
fn default() -> UpdatePhoneNumberMetadataInputBuilder
source§impl PartialEq for UpdatePhoneNumberMetadataInputBuilder
impl PartialEq for UpdatePhoneNumberMetadataInputBuilder
source§fn eq(&self, other: &UpdatePhoneNumberMetadataInputBuilder) -> bool
fn eq(&self, other: &UpdatePhoneNumberMetadataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.