Struct aws_sdk_xray::types::builders::EdgeBuilder
source · #[non_exhaustive]pub struct EdgeBuilder { /* private fields */ }
Expand description
A builder for Edge
.
Implementations§
source§impl EdgeBuilder
impl EdgeBuilder
sourcepub fn reference_id(self, input: i32) -> Self
pub fn reference_id(self, input: i32) -> Self
Identifier of the edge. Unique within a service map.
sourcepub fn set_reference_id(self, input: Option<i32>) -> Self
pub fn set_reference_id(self, input: Option<i32>) -> Self
Identifier of the edge. Unique within a service map.
sourcepub fn get_reference_id(&self) -> &Option<i32>
pub fn get_reference_id(&self) -> &Option<i32>
Identifier of the edge. Unique within a service map.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the first segment on the edge.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the first segment on the edge.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start time of the first segment on the edge.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time of the last segment on the edge.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end time of the last segment on the edge.
sourcepub fn summary_statistics(self, input: EdgeStatistics) -> Self
pub fn summary_statistics(self, input: EdgeStatistics) -> Self
Response statistics for segments on the edge.
sourcepub fn set_summary_statistics(self, input: Option<EdgeStatistics>) -> Self
pub fn set_summary_statistics(self, input: Option<EdgeStatistics>) -> Self
Response statistics for segments on the edge.
sourcepub fn get_summary_statistics(&self) -> &Option<EdgeStatistics>
pub fn get_summary_statistics(&self) -> &Option<EdgeStatistics>
Response statistics for segments on the edge.
sourcepub fn response_time_histogram(self, input: HistogramEntry) -> Self
pub fn response_time_histogram(self, input: HistogramEntry) -> Self
Appends an item to response_time_histogram
.
To override the contents of this collection use set_response_time_histogram
.
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
sourcepub fn set_response_time_histogram(
self,
input: Option<Vec<HistogramEntry>>
) -> Self
pub fn set_response_time_histogram( self, input: Option<Vec<HistogramEntry>> ) -> Self
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
sourcepub fn get_response_time_histogram(&self) -> &Option<Vec<HistogramEntry>>
pub fn get_response_time_histogram(&self) -> &Option<Vec<HistogramEntry>>
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
sourcepub fn aliases(self, input: Alias) -> Self
pub fn aliases(self, input: Alias) -> Self
Appends an item to aliases
.
To override the contents of this collection use set_aliases
.
Aliases for the edge.
sourcepub fn set_aliases(self, input: Option<Vec<Alias>>) -> Self
pub fn set_aliases(self, input: Option<Vec<Alias>>) -> Self
Aliases for the edge.
sourcepub fn get_aliases(&self) -> &Option<Vec<Alias>>
pub fn get_aliases(&self) -> &Option<Vec<Alias>>
Aliases for the edge.
sourcepub fn edge_type(self, input: impl Into<String>) -> Self
pub fn edge_type(self, input: impl Into<String>) -> Self
Describes an asynchronous connection, with a value of link
.
sourcepub fn set_edge_type(self, input: Option<String>) -> Self
pub fn set_edge_type(self, input: Option<String>) -> Self
Describes an asynchronous connection, with a value of link
.
sourcepub fn get_edge_type(&self) -> &Option<String>
pub fn get_edge_type(&self) -> &Option<String>
Describes an asynchronous connection, with a value of link
.
sourcepub fn received_event_age_histogram(self, input: HistogramEntry) -> Self
pub fn received_event_age_histogram(self, input: HistogramEntry) -> Self
Appends an item to received_event_age_histogram
.
To override the contents of this collection use set_received_event_age_histogram
.
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is link
.
sourcepub fn set_received_event_age_histogram(
self,
input: Option<Vec<HistogramEntry>>
) -> Self
pub fn set_received_event_age_histogram( self, input: Option<Vec<HistogramEntry>> ) -> Self
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is link
.
sourcepub fn get_received_event_age_histogram(&self) -> &Option<Vec<HistogramEntry>>
pub fn get_received_event_age_histogram(&self) -> &Option<Vec<HistogramEntry>>
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is link
.
Trait Implementations§
source§impl Clone for EdgeBuilder
impl Clone for EdgeBuilder
source§fn clone(&self) -> EdgeBuilder
fn clone(&self) -> EdgeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EdgeBuilder
impl Debug for EdgeBuilder
source§impl Default for EdgeBuilder
impl Default for EdgeBuilder
source§fn default() -> EdgeBuilder
fn default() -> EdgeBuilder
source§impl PartialEq for EdgeBuilder
impl PartialEq for EdgeBuilder
source§fn eq(&self, other: &EdgeBuilder) -> bool
fn eq(&self, other: &EdgeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EdgeBuilder
Auto Trait Implementations§
impl Freeze for EdgeBuilder
impl RefUnwindSafe for EdgeBuilder
impl Send for EdgeBuilder
impl Sync for EdgeBuilder
impl Unpin for EdgeBuilder
impl UnwindSafe for EdgeBuilder
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> 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