Struct aws_sdk_xray::types::builders::ServiceStatisticsBuilder
source · #[non_exhaustive]pub struct ServiceStatisticsBuilder { /* private fields */ }
Expand description
A builder for ServiceStatistics
.
Implementations§
source§impl ServiceStatisticsBuilder
impl ServiceStatisticsBuilder
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) -> ServiceStatistics
pub fn build(self) -> ServiceStatistics
Consumes the builder and constructs a ServiceStatistics
.
Trait Implementations§
source§impl Clone for ServiceStatisticsBuilder
impl Clone for ServiceStatisticsBuilder
source§fn clone(&self) -> ServiceStatisticsBuilder
fn clone(&self) -> ServiceStatisticsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceStatisticsBuilder
impl Debug for ServiceStatisticsBuilder
source§impl Default for ServiceStatisticsBuilder
impl Default for ServiceStatisticsBuilder
source§fn default() -> ServiceStatisticsBuilder
fn default() -> ServiceStatisticsBuilder
source§impl PartialEq for ServiceStatisticsBuilder
impl PartialEq for ServiceStatisticsBuilder
source§fn eq(&self, other: &ServiceStatisticsBuilder) -> bool
fn eq(&self, other: &ServiceStatisticsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.