Struct aws_sdk_xray::types::builders::FaultRootCauseBuilder
source · #[non_exhaustive]pub struct FaultRootCauseBuilder { /* private fields */ }
Expand description
A builder for FaultRootCause
.
Implementations§
source§impl FaultRootCauseBuilder
impl FaultRootCauseBuilder
sourcepub fn services(self, input: FaultRootCauseService) -> Self
pub fn services(self, input: FaultRootCauseService) -> Self
Appends an item to services
.
To override the contents of this collection use set_services
.
A list of corresponding services. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
sourcepub fn set_services(self, input: Option<Vec<FaultRootCauseService>>) -> Self
pub fn set_services(self, input: Option<Vec<FaultRootCauseService>>) -> Self
A list of corresponding services. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
sourcepub fn get_services(&self) -> &Option<Vec<FaultRootCauseService>>
pub fn get_services(&self) -> &Option<Vec<FaultRootCauseService>>
A list of corresponding services. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
sourcepub fn client_impacting(self, input: bool) -> Self
pub fn client_impacting(self, input: bool) -> Self
A flag that denotes that the root cause impacts the trace client.
sourcepub fn set_client_impacting(self, input: Option<bool>) -> Self
pub fn set_client_impacting(self, input: Option<bool>) -> Self
A flag that denotes that the root cause impacts the trace client.
sourcepub fn get_client_impacting(&self) -> &Option<bool>
pub fn get_client_impacting(&self) -> &Option<bool>
A flag that denotes that the root cause impacts the trace client.
sourcepub fn build(self) -> FaultRootCause
pub fn build(self) -> FaultRootCause
Consumes the builder and constructs a FaultRootCause
.
Trait Implementations§
source§impl Clone for FaultRootCauseBuilder
impl Clone for FaultRootCauseBuilder
source§fn clone(&self) -> FaultRootCauseBuilder
fn clone(&self) -> FaultRootCauseBuilder
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 FaultRootCauseBuilder
impl Debug for FaultRootCauseBuilder
source§impl Default for FaultRootCauseBuilder
impl Default for FaultRootCauseBuilder
source§fn default() -> FaultRootCauseBuilder
fn default() -> FaultRootCauseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FaultRootCauseBuilder
impl PartialEq for FaultRootCauseBuilder
source§fn eq(&self, other: &FaultRootCauseBuilder) -> bool
fn eq(&self, other: &FaultRootCauseBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FaultRootCauseBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FaultRootCauseBuilder
impl Send for FaultRootCauseBuilder
impl Sync for FaultRootCauseBuilder
impl Unpin for FaultRootCauseBuilder
impl UnwindSafe for FaultRootCauseBuilder
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.