Struct aws_sdk_devopsguru::model::prediction_time_range::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PredictionTimeRange
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The time when the behavior in a proactive insight is expected to end.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time when the behavior in a proactive insight is expected to end.
sourcepub fn build(self) -> PredictionTimeRange
pub fn build(self) -> PredictionTimeRange
Consumes the builder and constructs a PredictionTimeRange
.