Struct aws_sdk_xray::model::edge_statistics::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EdgeStatistics
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> EdgeStatistics
pub fn build(self) -> EdgeStatistics
Consumes the builder and constructs a EdgeStatistics
.