Struct aws_sdk_sns::types::builders::SmsSandboxPhoneNumberBuilder
source · #[non_exhaustive]pub struct SmsSandboxPhoneNumberBuilder { /* private fields */ }Expand description
A builder for SmsSandboxPhoneNumber.
Implementations§
source§impl SmsSandboxPhoneNumberBuilder
impl SmsSandboxPhoneNumberBuilder
sourcepub fn phone_number(self, input: impl Into<String>) -> Self
pub fn phone_number(self, input: impl Into<String>) -> Self
The destination phone number.
sourcepub fn set_phone_number(self, input: Option<String>) -> Self
pub fn set_phone_number(self, input: Option<String>) -> Self
The destination phone number.
sourcepub fn get_phone_number(&self) -> &Option<String>
pub fn get_phone_number(&self) -> &Option<String>
The destination phone number.
sourcepub fn status(self, input: SmsSandboxPhoneNumberVerificationStatus) -> Self
pub fn status(self, input: SmsSandboxPhoneNumberVerificationStatus) -> Self
The destination phone number's verification status.
sourcepub fn set_status(
self,
input: Option<SmsSandboxPhoneNumberVerificationStatus>
) -> Self
pub fn set_status( self, input: Option<SmsSandboxPhoneNumberVerificationStatus> ) -> Self
The destination phone number's verification status.
sourcepub fn get_status(&self) -> &Option<SmsSandboxPhoneNumberVerificationStatus>
pub fn get_status(&self) -> &Option<SmsSandboxPhoneNumberVerificationStatus>
The destination phone number's verification status.
sourcepub fn build(self) -> SmsSandboxPhoneNumber
pub fn build(self) -> SmsSandboxPhoneNumber
Consumes the builder and constructs a SmsSandboxPhoneNumber.
Trait Implementations§
source§impl Clone for SmsSandboxPhoneNumberBuilder
impl Clone for SmsSandboxPhoneNumberBuilder
source§fn clone(&self) -> SmsSandboxPhoneNumberBuilder
fn clone(&self) -> SmsSandboxPhoneNumberBuilder
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 Debug for SmsSandboxPhoneNumberBuilder
impl Debug for SmsSandboxPhoneNumberBuilder
source§impl Default for SmsSandboxPhoneNumberBuilder
impl Default for SmsSandboxPhoneNumberBuilder
source§fn default() -> SmsSandboxPhoneNumberBuilder
fn default() -> SmsSandboxPhoneNumberBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SmsSandboxPhoneNumberBuilder
impl PartialEq for SmsSandboxPhoneNumberBuilder
source§fn eq(&self, other: &SmsSandboxPhoneNumberBuilder) -> bool
fn eq(&self, other: &SmsSandboxPhoneNumberBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SmsSandboxPhoneNumberBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SmsSandboxPhoneNumberBuilder
impl Send for SmsSandboxPhoneNumberBuilder
impl Sync for SmsSandboxPhoneNumberBuilder
impl Unpin for SmsSandboxPhoneNumberBuilder
impl UnwindSafe for SmsSandboxPhoneNumberBuilder
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.