#[non_exhaustive]pub struct TimeSeriesServiceStatisticsBuilder { /* private fields */ }
Expand description
A builder for TimeSeriesServiceStatistics
.
Implementations§
source§impl TimeSeriesServiceStatisticsBuilder
impl TimeSeriesServiceStatisticsBuilder
sourcepub fn timestamp(self, input: DateTime) -> Self
pub fn timestamp(self, input: DateTime) -> Self
Timestamp of the window for which statistics are aggregated.
sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
Timestamp of the window for which statistics are aggregated.
sourcepub fn get_timestamp(&self) -> &Option<DateTime>
pub fn get_timestamp(&self) -> &Option<DateTime>
Timestamp of the window for which statistics are aggregated.
sourcepub fn edge_summary_statistics(self, input: EdgeStatistics) -> Self
pub fn edge_summary_statistics(self, input: EdgeStatistics) -> Self
Response statistics for an edge.
sourcepub fn set_edge_summary_statistics(self, input: Option<EdgeStatistics>) -> Self
pub fn set_edge_summary_statistics(self, input: Option<EdgeStatistics>) -> Self
Response statistics for an edge.
sourcepub fn get_edge_summary_statistics(&self) -> &Option<EdgeStatistics>
pub fn get_edge_summary_statistics(&self) -> &Option<EdgeStatistics>
Response statistics for an edge.
sourcepub fn service_summary_statistics(self, input: ServiceStatistics) -> Self
pub fn service_summary_statistics(self, input: ServiceStatistics) -> Self
Response statistics for a service.
sourcepub fn set_service_summary_statistics(
self,
input: Option<ServiceStatistics>
) -> Self
pub fn set_service_summary_statistics( self, input: Option<ServiceStatistics> ) -> Self
Response statistics for a service.
sourcepub fn get_service_summary_statistics(&self) -> &Option<ServiceStatistics>
pub fn get_service_summary_statistics(&self) -> &Option<ServiceStatistics>
Response statistics for a service.
sourcepub fn service_forecast_statistics(self, input: ForecastStatistics) -> Self
pub fn service_forecast_statistics(self, input: ForecastStatistics) -> Self
The forecasted high and low fault count values.
sourcepub fn set_service_forecast_statistics(
self,
input: Option<ForecastStatistics>
) -> Self
pub fn set_service_forecast_statistics( self, input: Option<ForecastStatistics> ) -> Self
The forecasted high and low fault count values.
sourcepub fn get_service_forecast_statistics(&self) -> &Option<ForecastStatistics>
pub fn get_service_forecast_statistics(&self) -> &Option<ForecastStatistics>
The forecasted high and low fault count values.
sourcepub fn response_time_histogram(self, input: HistogramEntry) -> Self
pub fn response_time_histogram(self, input: HistogramEntry) -> Self
Appends an item to response_time_histogram
.
To override the contents of this collection use set_response_time_histogram
.
The response time histogram for the selected entities.
sourcepub fn set_response_time_histogram(
self,
input: Option<Vec<HistogramEntry>>
) -> Self
pub fn set_response_time_histogram( self, input: Option<Vec<HistogramEntry>> ) -> Self
The response time histogram for the selected entities.
sourcepub fn get_response_time_histogram(&self) -> &Option<Vec<HistogramEntry>>
pub fn get_response_time_histogram(&self) -> &Option<Vec<HistogramEntry>>
The response time histogram for the selected entities.
sourcepub fn build(self) -> TimeSeriesServiceStatistics
pub fn build(self) -> TimeSeriesServiceStatistics
Consumes the builder and constructs a TimeSeriesServiceStatistics
.
Trait Implementations§
source§impl Clone for TimeSeriesServiceStatisticsBuilder
impl Clone for TimeSeriesServiceStatisticsBuilder
source§fn clone(&self) -> TimeSeriesServiceStatisticsBuilder
fn clone(&self) -> TimeSeriesServiceStatisticsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TimeSeriesServiceStatisticsBuilder
impl Default for TimeSeriesServiceStatisticsBuilder
source§fn default() -> TimeSeriesServiceStatisticsBuilder
fn default() -> TimeSeriesServiceStatisticsBuilder
source§impl PartialEq for TimeSeriesServiceStatisticsBuilder
impl PartialEq for TimeSeriesServiceStatisticsBuilder
source§fn eq(&self, other: &TimeSeriesServiceStatisticsBuilder) -> bool
fn eq(&self, other: &TimeSeriesServiceStatisticsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.