#[non_exhaustive]pub struct ResponseTimeRootCauseServiceBuilder { /* private fields */ }
Expand description
A builder for ResponseTimeRootCauseService
.
Implementations§
source§impl ResponseTimeRootCauseServiceBuilder
impl ResponseTimeRootCauseServiceBuilder
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 get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID associated to the service.
sourcepub fn entity_path(self, input: ResponseTimeRootCauseEntity) -> Self
pub fn entity_path(self, input: ResponseTimeRootCauseEntity) -> 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<ResponseTimeRootCauseEntity>>
) -> Self
pub fn set_entity_path( self, input: Option<Vec<ResponseTimeRootCauseEntity>> ) -> Self
The path of root cause entities found on the service.
sourcepub fn get_entity_path(&self) -> &Option<Vec<ResponseTimeRootCauseEntity>>
pub fn get_entity_path(&self) -> &Option<Vec<ResponseTimeRootCauseEntity>>
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 get_inferred(&self) -> &Option<bool>
pub fn get_inferred(&self) -> &Option<bool>
A Boolean value indicating if the service is inferred from the trace.
sourcepub fn build(self) -> ResponseTimeRootCauseService
pub fn build(self) -> ResponseTimeRootCauseService
Consumes the builder and constructs a ResponseTimeRootCauseService
.
Trait Implementations§
source§impl Clone for ResponseTimeRootCauseServiceBuilder
impl Clone for ResponseTimeRootCauseServiceBuilder
source§fn clone(&self) -> ResponseTimeRootCauseServiceBuilder
fn clone(&self) -> ResponseTimeRootCauseServiceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ResponseTimeRootCauseServiceBuilder
impl Default for ResponseTimeRootCauseServiceBuilder
source§fn default() -> ResponseTimeRootCauseServiceBuilder
fn default() -> ResponseTimeRootCauseServiceBuilder
source§impl PartialEq for ResponseTimeRootCauseServiceBuilder
impl PartialEq for ResponseTimeRootCauseServiceBuilder
source§fn eq(&self, other: &ResponseTimeRootCauseServiceBuilder) -> bool
fn eq(&self, other: &ResponseTimeRootCauseServiceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.