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