Struct aws_sdk_xray::model::error_root_cause_service::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ErrorRootCauseService
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn names(self, input: impl Into<String>) -> Self
pub fn names(self, input: impl Into<String>) -> Self
Appends an item to names
.
To override the contents of this collection use set_names
.
A collection of associated service names.
sourcepub fn set_names(self, input: Option<Vec<String>>) -> Self
pub fn set_names(self, input: Option<Vec<String>>) -> Self
A collection of associated service names.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The account ID associated to the service.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID associated to the service.
sourcepub fn entity_path(self, input: ErrorRootCauseEntity) -> Self
pub fn entity_path(self, input: ErrorRootCauseEntity) -> Self
Appends an item to entity_path
.
To override the contents of this collection use set_entity_path
.
The path of root cause entities found on the service.
sourcepub fn set_entity_path(self, input: Option<Vec<ErrorRootCauseEntity>>) -> Self
pub fn set_entity_path(self, input: Option<Vec<ErrorRootCauseEntity>>) -> Self
The path of root cause entities found on the service.
sourcepub fn inferred(self, input: bool) -> Self
pub fn inferred(self, input: bool) -> Self
A Boolean value indicating if the service is inferred from the trace.
sourcepub fn set_inferred(self, input: Option<bool>) -> Self
pub fn set_inferred(self, input: Option<bool>) -> Self
A Boolean value indicating if the service is inferred from the trace.
sourcepub fn build(self) -> ErrorRootCauseService
pub fn build(self) -> ErrorRootCauseService
Consumes the builder and constructs a ErrorRootCauseService
.