pub struct Builder { /* private fields */ }
Expand description
A builder for TrialComponentMetricSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn metric_name(self, input: impl Into<String>) -> Self
pub fn metric_name(self, input: impl Into<String>) -> Self
The name of the metric.
sourcepub fn set_metric_name(self, input: Option<String>) -> Self
pub fn set_metric_name(self, input: Option<String>) -> Self
The name of the metric.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the source.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the source.
sourcepub fn time_stamp(self, input: DateTime) -> Self
pub fn time_stamp(self, input: DateTime) -> Self
When the metric was last updated.
sourcepub fn set_time_stamp(self, input: Option<DateTime>) -> Self
pub fn set_time_stamp(self, input: Option<DateTime>) -> Self
When the metric was last updated.
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The number of samples used to generate the metric.
sourcepub fn set_std_dev(self, input: Option<f64>) -> Self
pub fn set_std_dev(self, input: Option<f64>) -> Self
The standard deviation of the metric.
sourcepub fn build(self) -> TrialComponentMetricSummary
pub fn build(self) -> TrialComponentMetricSummary
Consumes the builder and constructs a TrialComponentMetricSummary
.