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