Struct aws_sdk_xray::model::fault_root_cause::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FaultRootCause
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> FaultRootCause
pub fn build(self) -> FaultRootCause
Consumes the builder and constructs a FaultRootCause
.