Struct aws_sdk_chime::operation::update_phone_number_settings::builders::UpdatePhoneNumberSettingsInputBuilder
source · #[non_exhaustive]pub struct UpdatePhoneNumberSettingsInputBuilder { /* private fields */ }
Expand description
A builder for UpdatePhoneNumberSettingsInput
.
Implementations§
source§impl UpdatePhoneNumberSettingsInputBuilder
impl UpdatePhoneNumberSettingsInputBuilder
sourcepub fn calling_name(self, input: impl Into<String>) -> Self
pub fn calling_name(self, input: impl Into<String>) -> Self
The default outbound calling name for the account.
This field is required.sourcepub fn set_calling_name(self, input: Option<String>) -> Self
pub fn set_calling_name(self, input: Option<String>) -> Self
The default outbound calling name for the account.
sourcepub fn get_calling_name(&self) -> &Option<String>
pub fn get_calling_name(&self) -> &Option<String>
The default outbound calling name for the account.
sourcepub fn build(self) -> Result<UpdatePhoneNumberSettingsInput, BuildError>
pub fn build(self) -> Result<UpdatePhoneNumberSettingsInput, BuildError>
Consumes the builder and constructs a UpdatePhoneNumberSettingsInput
.
source§impl UpdatePhoneNumberSettingsInputBuilder
impl UpdatePhoneNumberSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdatePhoneNumberSettingsOutput, SdkError<UpdatePhoneNumberSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdatePhoneNumberSettingsOutput, SdkError<UpdatePhoneNumberSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePhoneNumberSettingsInputBuilder
impl Clone for UpdatePhoneNumberSettingsInputBuilder
source§fn clone(&self) -> UpdatePhoneNumberSettingsInputBuilder
fn clone(&self) -> UpdatePhoneNumberSettingsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdatePhoneNumberSettingsInputBuilder
impl Default for UpdatePhoneNumberSettingsInputBuilder
source§fn default() -> UpdatePhoneNumberSettingsInputBuilder
fn default() -> UpdatePhoneNumberSettingsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdatePhoneNumberSettingsInputBuilder
impl PartialEq for UpdatePhoneNumberSettingsInputBuilder
source§fn eq(&self, other: &UpdatePhoneNumberSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdatePhoneNumberSettingsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePhoneNumberSettingsInputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePhoneNumberSettingsInputBuilder
impl RefUnwindSafe for UpdatePhoneNumberSettingsInputBuilder
impl Send for UpdatePhoneNumberSettingsInputBuilder
impl Sync for UpdatePhoneNumberSettingsInputBuilder
impl Unpin for UpdatePhoneNumberSettingsInputBuilder
impl UnwindSafe for UpdatePhoneNumberSettingsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.