Struct aws_sdk_xray::model::sampling_statistic_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SamplingStatisticSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_rule_name(self, input: Option<String>) -> Self
pub fn set_rule_name(self, input: Option<String>) -> Self
The name of the sampling rule.
sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
The start time of the reporting window.
sourcepub fn request_count(self, input: i32) -> Self
pub fn request_count(self, input: i32) -> Self
The number of requests that matched the rule.
sourcepub fn set_request_count(self, input: Option<i32>) -> Self
pub fn set_request_count(self, input: Option<i32>) -> Self
The number of requests that matched the rule.
sourcepub fn borrow_count(self, input: i32) -> Self
pub fn borrow_count(self, input: i32) -> Self
The number of requests recorded with borrowed reservoir quota.
sourcepub fn set_borrow_count(self, input: Option<i32>) -> Self
pub fn set_borrow_count(self, input: Option<i32>) -> Self
The number of requests recorded with borrowed reservoir quota.
sourcepub fn sampled_count(self, input: i32) -> Self
pub fn sampled_count(self, input: i32) -> Self
The number of requests recorded.
sourcepub fn set_sampled_count(self, input: Option<i32>) -> Self
pub fn set_sampled_count(self, input: Option<i32>) -> Self
The number of requests recorded.
sourcepub fn build(self) -> SamplingStatisticSummary
pub fn build(self) -> SamplingStatisticSummary
Consumes the builder and constructs a SamplingStatisticSummary
.