Struct aws_sdk_chime::operation::get_phone_number_order::builders::GetPhoneNumberOrderInputBuilder
source · #[non_exhaustive]pub struct GetPhoneNumberOrderInputBuilder { /* private fields */ }
Expand description
A builder for GetPhoneNumberOrderInput
.
Implementations§
source§impl GetPhoneNumberOrderInputBuilder
impl GetPhoneNumberOrderInputBuilder
sourcepub fn phone_number_order_id(self, input: impl Into<String>) -> Self
pub fn phone_number_order_id(self, input: impl Into<String>) -> Self
The ID for the phone number order.
This field is required.sourcepub fn set_phone_number_order_id(self, input: Option<String>) -> Self
pub fn set_phone_number_order_id(self, input: Option<String>) -> Self
The ID for the phone number order.
sourcepub fn get_phone_number_order_id(&self) -> &Option<String>
pub fn get_phone_number_order_id(&self) -> &Option<String>
The ID for the phone number order.
sourcepub fn build(self) -> Result<GetPhoneNumberOrderInput, BuildError>
pub fn build(self) -> Result<GetPhoneNumberOrderInput, BuildError>
Consumes the builder and constructs a GetPhoneNumberOrderInput
.
source§impl GetPhoneNumberOrderInputBuilder
impl GetPhoneNumberOrderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetPhoneNumberOrderOutput, SdkError<GetPhoneNumberOrderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetPhoneNumberOrderOutput, SdkError<GetPhoneNumberOrderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetPhoneNumberOrderInputBuilder
impl Clone for GetPhoneNumberOrderInputBuilder
source§fn clone(&self) -> GetPhoneNumberOrderInputBuilder
fn clone(&self) -> GetPhoneNumberOrderInputBuilder
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 GetPhoneNumberOrderInputBuilder
impl Default for GetPhoneNumberOrderInputBuilder
source§fn default() -> GetPhoneNumberOrderInputBuilder
fn default() -> GetPhoneNumberOrderInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetPhoneNumberOrderInputBuilder
impl PartialEq for GetPhoneNumberOrderInputBuilder
source§fn eq(&self, other: &GetPhoneNumberOrderInputBuilder) -> bool
fn eq(&self, other: &GetPhoneNumberOrderInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetPhoneNumberOrderInputBuilder
Auto Trait Implementations§
impl Freeze for GetPhoneNumberOrderInputBuilder
impl RefUnwindSafe for GetPhoneNumberOrderInputBuilder
impl Send for GetPhoneNumberOrderInputBuilder
impl Sync for GetPhoneNumberOrderInputBuilder
impl Unpin for GetPhoneNumberOrderInputBuilder
impl UnwindSafe for GetPhoneNumberOrderInputBuilder
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.