Struct aws_sdk_devopsguru::model::prediction_time_range::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for PredictionTimeRange
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more