#[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 ==
.impl StructuralPartialEq for ResponseTimeRootCauseServiceBuilder
Auto Trait Implementations§
impl Freeze for ResponseTimeRootCauseServiceBuilder
impl RefUnwindSafe for ResponseTimeRootCauseServiceBuilder
impl Send for ResponseTimeRootCauseServiceBuilder
impl Sync for ResponseTimeRootCauseServiceBuilder
impl Unpin for ResponseTimeRootCauseServiceBuilder
impl UnwindSafe for ResponseTimeRootCauseServiceBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more