Struct aws_sdk_devopsguru::model::anomaly_time_range::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AnomalyTimeRange
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time when the anomalous behavior started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time when the anomalous behavior started.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time when the anomalous behavior ended.
sourcepub fn build(self) -> AnomalyTimeRange
pub fn build(self) -> AnomalyTimeRange
Consumes the builder and constructs a AnomalyTimeRange
.