Struct aws_sdk_xray::model::request_impact_statistics::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RequestImpactStatistics
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn fault_count(self, input: i64) -> Self
pub fn fault_count(self, input: i64) -> Self
The number of requests that have resulted in a fault,
sourcepub fn set_fault_count(self, input: Option<i64>) -> Self
pub fn set_fault_count(self, input: Option<i64>) -> Self
The number of requests that have resulted in a fault,
sourcepub fn set_ok_count(self, input: Option<i64>) -> Self
pub fn set_ok_count(self, input: Option<i64>) -> Self
The number of successful requests.
sourcepub fn total_count(self, input: i64) -> Self
pub fn total_count(self, input: i64) -> Self
The total number of requests to the service.
sourcepub fn set_total_count(self, input: Option<i64>) -> Self
pub fn set_total_count(self, input: Option<i64>) -> Self
The total number of requests to the service.
sourcepub fn build(self) -> RequestImpactStatistics
pub fn build(self) -> RequestImpactStatistics
Consumes the builder and constructs a RequestImpactStatistics
.