Struct aws_sdk_xray::types::builders::EdgeStatisticsBuilder
source · #[non_exhaustive]pub struct EdgeStatisticsBuilder { /* private fields */ }
Expand description
A builder for EdgeStatistics
.
Implementations§
source§impl EdgeStatisticsBuilder
impl EdgeStatisticsBuilder
sourcepub fn ok_count(self, input: i64) -> Self
pub fn ok_count(self, input: i64) -> Self
The number of requests that completed with a 2xx Success status code.
sourcepub fn set_ok_count(self, input: Option<i64>) -> Self
pub fn set_ok_count(self, input: Option<i64>) -> Self
The number of requests that completed with a 2xx Success status code.
sourcepub fn get_ok_count(&self) -> &Option<i64>
pub fn get_ok_count(&self) -> &Option<i64>
The number of requests that completed with a 2xx Success status code.
sourcepub fn error_statistics(self, input: ErrorStatistics) -> Self
pub fn error_statistics(self, input: ErrorStatistics) -> Self
Information about requests that failed with a 4xx Client Error status code.
sourcepub fn set_error_statistics(self, input: Option<ErrorStatistics>) -> Self
pub fn set_error_statistics(self, input: Option<ErrorStatistics>) -> Self
Information about requests that failed with a 4xx Client Error status code.
sourcepub fn get_error_statistics(&self) -> &Option<ErrorStatistics>
pub fn get_error_statistics(&self) -> &Option<ErrorStatistics>
Information about requests that failed with a 4xx Client Error status code.
sourcepub fn fault_statistics(self, input: FaultStatistics) -> Self
pub fn fault_statistics(self, input: FaultStatistics) -> Self
Information about requests that failed with a 5xx Server Error status code.
sourcepub fn set_fault_statistics(self, input: Option<FaultStatistics>) -> Self
pub fn set_fault_statistics(self, input: Option<FaultStatistics>) -> Self
Information about requests that failed with a 5xx Server Error status code.
sourcepub fn get_fault_statistics(&self) -> &Option<FaultStatistics>
pub fn get_fault_statistics(&self) -> &Option<FaultStatistics>
Information about requests that failed with a 5xx Server Error status code.
sourcepub fn total_count(self, input: i64) -> Self
pub fn total_count(self, input: i64) -> Self
The total number of completed requests.
sourcepub fn set_total_count(self, input: Option<i64>) -> Self
pub fn set_total_count(self, input: Option<i64>) -> Self
The total number of completed requests.
sourcepub fn get_total_count(&self) -> &Option<i64>
pub fn get_total_count(&self) -> &Option<i64>
The total number of completed requests.
sourcepub fn total_response_time(self, input: f64) -> Self
pub fn total_response_time(self, input: f64) -> Self
The aggregate response time of completed requests.
sourcepub fn set_total_response_time(self, input: Option<f64>) -> Self
pub fn set_total_response_time(self, input: Option<f64>) -> Self
The aggregate response time of completed requests.
sourcepub fn get_total_response_time(&self) -> &Option<f64>
pub fn get_total_response_time(&self) -> &Option<f64>
The aggregate response time of completed requests.
sourcepub fn build(self) -> EdgeStatistics
pub fn build(self) -> EdgeStatistics
Consumes the builder and constructs a EdgeStatistics
.
Trait Implementations§
source§impl Clone for EdgeStatisticsBuilder
impl Clone for EdgeStatisticsBuilder
source§fn clone(&self) -> EdgeStatisticsBuilder
fn clone(&self) -> EdgeStatisticsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EdgeStatisticsBuilder
impl Debug for EdgeStatisticsBuilder
source§impl Default for EdgeStatisticsBuilder
impl Default for EdgeStatisticsBuilder
source§fn default() -> EdgeStatisticsBuilder
fn default() -> EdgeStatisticsBuilder
source§impl PartialEq for EdgeStatisticsBuilder
impl PartialEq for EdgeStatisticsBuilder
impl StructuralPartialEq for EdgeStatisticsBuilder
Auto Trait Implementations§
impl Freeze for EdgeStatisticsBuilder
impl RefUnwindSafe for EdgeStatisticsBuilder
impl Send for EdgeStatisticsBuilder
impl Sync for EdgeStatisticsBuilder
impl Unpin for EdgeStatisticsBuilder
impl UnwindSafe for EdgeStatisticsBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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