Struct aws_sdk_xray::model::error_root_cause::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ErrorRootCause
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn services(self, input: ErrorRootCauseService) -> Self
pub fn services(self, input: ErrorRootCauseService) -> Self
Appends an item to services
.
To override the contents of this collection use set_services
.
A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
sourcepub fn set_services(self, input: Option<Vec<ErrorRootCauseService>>) -> Self
pub fn set_services(self, input: Option<Vec<ErrorRootCauseService>>) -> Self
A list of services corresponding to an error. 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) -> ErrorRootCause
pub fn build(self) -> ErrorRootCause
Consumes the builder and constructs a ErrorRootCause
.