Struct aws_sdk_account::operation::get_alternate_contact::builders::GetAlternateContactOutputBuilder
source · #[non_exhaustive]pub struct GetAlternateContactOutputBuilder { /* private fields */ }
Expand description
A builder for GetAlternateContactOutput
.
Implementations§
source§impl GetAlternateContactOutputBuilder
impl GetAlternateContactOutputBuilder
sourcepub fn alternate_contact(self, input: AlternateContact) -> Self
pub fn alternate_contact(self, input: AlternateContact) -> Self
A structure that contains the details for the specified alternate contact.
sourcepub fn set_alternate_contact(self, input: Option<AlternateContact>) -> Self
pub fn set_alternate_contact(self, input: Option<AlternateContact>) -> Self
A structure that contains the details for the specified alternate contact.
sourcepub fn get_alternate_contact(&self) -> &Option<AlternateContact>
pub fn get_alternate_contact(&self) -> &Option<AlternateContact>
A structure that contains the details for the specified alternate contact.
sourcepub fn build(self) -> GetAlternateContactOutput
pub fn build(self) -> GetAlternateContactOutput
Consumes the builder and constructs a GetAlternateContactOutput
.
Trait Implementations§
source§impl Clone for GetAlternateContactOutputBuilder
impl Clone for GetAlternateContactOutputBuilder
source§fn clone(&self) -> GetAlternateContactOutputBuilder
fn clone(&self) -> GetAlternateContactOutputBuilder
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 GetAlternateContactOutputBuilder
impl Default for GetAlternateContactOutputBuilder
source§fn default() -> GetAlternateContactOutputBuilder
fn default() -> GetAlternateContactOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetAlternateContactOutputBuilder
impl PartialEq for GetAlternateContactOutputBuilder
source§fn eq(&self, other: &GetAlternateContactOutputBuilder) -> bool
fn eq(&self, other: &GetAlternateContactOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetAlternateContactOutputBuilder
Auto Trait Implementations§
impl Freeze for GetAlternateContactOutputBuilder
impl RefUnwindSafe for GetAlternateContactOutputBuilder
impl Send for GetAlternateContactOutputBuilder
impl Sync for GetAlternateContactOutputBuilder
impl Unpin for GetAlternateContactOutputBuilder
impl UnwindSafe for GetAlternateContactOutputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.