Struct aws_sdk_chime::operation::batch_update_phone_number::builders::BatchUpdatePhoneNumberInputBuilder
source · #[non_exhaustive]pub struct BatchUpdatePhoneNumberInputBuilder { /* private fields */ }
Expand description
A builder for BatchUpdatePhoneNumberInput
.
Implementations§
source§impl BatchUpdatePhoneNumberInputBuilder
impl BatchUpdatePhoneNumberInputBuilder
sourcepub fn update_phone_number_request_items(
self,
input: UpdatePhoneNumberRequestItem
) -> Self
pub fn update_phone_number_request_items( self, input: UpdatePhoneNumberRequestItem ) -> Self
Appends an item to update_phone_number_request_items
.
To override the contents of this collection use set_update_phone_number_request_items
.
The request containing the phone number IDs and product types or calling names to update.
sourcepub fn set_update_phone_number_request_items(
self,
input: Option<Vec<UpdatePhoneNumberRequestItem>>
) -> Self
pub fn set_update_phone_number_request_items( self, input: Option<Vec<UpdatePhoneNumberRequestItem>> ) -> Self
The request containing the phone number IDs and product types or calling names to update.
sourcepub fn get_update_phone_number_request_items(
&self
) -> &Option<Vec<UpdatePhoneNumberRequestItem>>
pub fn get_update_phone_number_request_items( &self ) -> &Option<Vec<UpdatePhoneNumberRequestItem>>
The request containing the phone number IDs and product types or calling names to update.
sourcepub fn build(self) -> Result<BatchUpdatePhoneNumberInput, BuildError>
pub fn build(self) -> Result<BatchUpdatePhoneNumberInput, BuildError>
Consumes the builder and constructs a BatchUpdatePhoneNumberInput
.
source§impl BatchUpdatePhoneNumberInputBuilder
impl BatchUpdatePhoneNumberInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchUpdatePhoneNumberOutput, SdkError<BatchUpdatePhoneNumberError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchUpdatePhoneNumberOutput, SdkError<BatchUpdatePhoneNumberError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchUpdatePhoneNumberInputBuilder
impl Clone for BatchUpdatePhoneNumberInputBuilder
source§fn clone(&self) -> BatchUpdatePhoneNumberInputBuilder
fn clone(&self) -> BatchUpdatePhoneNumberInputBuilder
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 BatchUpdatePhoneNumberInputBuilder
impl Default for BatchUpdatePhoneNumberInputBuilder
source§fn default() -> BatchUpdatePhoneNumberInputBuilder
fn default() -> BatchUpdatePhoneNumberInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchUpdatePhoneNumberInputBuilder
impl PartialEq for BatchUpdatePhoneNumberInputBuilder
source§fn eq(&self, other: &BatchUpdatePhoneNumberInputBuilder) -> bool
fn eq(&self, other: &BatchUpdatePhoneNumberInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchUpdatePhoneNumberInputBuilder
Auto Trait Implementations§
impl Freeze for BatchUpdatePhoneNumberInputBuilder
impl RefUnwindSafe for BatchUpdatePhoneNumberInputBuilder
impl Send for BatchUpdatePhoneNumberInputBuilder
impl Sync for BatchUpdatePhoneNumberInputBuilder
impl Unpin for BatchUpdatePhoneNumberInputBuilder
impl UnwindSafe for BatchUpdatePhoneNumberInputBuilder
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.