Struct aws_sdk_sagemaker::operation::update_monitoring_alert::builders::UpdateMonitoringAlertInputBuilder
source · #[non_exhaustive]pub struct UpdateMonitoringAlertInputBuilder { /* private fields */ }
Expand description
A builder for UpdateMonitoringAlertInput
.
Implementations§
source§impl UpdateMonitoringAlertInputBuilder
impl UpdateMonitoringAlertInputBuilder
sourcepub fn monitoring_schedule_name(self, input: impl Into<String>) -> Self
pub fn monitoring_schedule_name(self, input: impl Into<String>) -> Self
The name of a monitoring schedule.
This field is required.sourcepub fn set_monitoring_schedule_name(self, input: Option<String>) -> Self
pub fn set_monitoring_schedule_name(self, input: Option<String>) -> Self
The name of a monitoring schedule.
sourcepub fn get_monitoring_schedule_name(&self) -> &Option<String>
pub fn get_monitoring_schedule_name(&self) -> &Option<String>
The name of a monitoring schedule.
sourcepub fn monitoring_alert_name(self, input: impl Into<String>) -> Self
pub fn monitoring_alert_name(self, input: impl Into<String>) -> Self
The name of a monitoring alert.
This field is required.sourcepub fn set_monitoring_alert_name(self, input: Option<String>) -> Self
pub fn set_monitoring_alert_name(self, input: Option<String>) -> Self
The name of a monitoring alert.
sourcepub fn get_monitoring_alert_name(&self) -> &Option<String>
pub fn get_monitoring_alert_name(&self) -> &Option<String>
The name of a monitoring alert.
sourcepub fn datapoints_to_alert(self, input: i32) -> Self
pub fn datapoints_to_alert(self, input: i32) -> Self
Within EvaluationPeriod
, how many execution failures will raise an alert.
sourcepub fn set_datapoints_to_alert(self, input: Option<i32>) -> Self
pub fn set_datapoints_to_alert(self, input: Option<i32>) -> Self
Within EvaluationPeriod
, how many execution failures will raise an alert.
sourcepub fn get_datapoints_to_alert(&self) -> &Option<i32>
pub fn get_datapoints_to_alert(&self) -> &Option<i32>
Within EvaluationPeriod
, how many execution failures will raise an alert.
sourcepub fn evaluation_period(self, input: i32) -> Self
pub fn evaluation_period(self, input: i32) -> Self
The number of most recent monitoring executions to consider when evaluating alert status.
This field is required.sourcepub fn set_evaluation_period(self, input: Option<i32>) -> Self
pub fn set_evaluation_period(self, input: Option<i32>) -> Self
The number of most recent monitoring executions to consider when evaluating alert status.
sourcepub fn get_evaluation_period(&self) -> &Option<i32>
pub fn get_evaluation_period(&self) -> &Option<i32>
The number of most recent monitoring executions to consider when evaluating alert status.
sourcepub fn build(self) -> Result<UpdateMonitoringAlertInput, BuildError>
pub fn build(self) -> Result<UpdateMonitoringAlertInput, BuildError>
Consumes the builder and constructs a UpdateMonitoringAlertInput
.
source§impl UpdateMonitoringAlertInputBuilder
impl UpdateMonitoringAlertInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateMonitoringAlertOutput, SdkError<UpdateMonitoringAlertError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateMonitoringAlertOutput, SdkError<UpdateMonitoringAlertError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateMonitoringAlertInputBuilder
impl Clone for UpdateMonitoringAlertInputBuilder
source§fn clone(&self) -> UpdateMonitoringAlertInputBuilder
fn clone(&self) -> UpdateMonitoringAlertInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateMonitoringAlertInputBuilder
impl Default for UpdateMonitoringAlertInputBuilder
source§fn default() -> UpdateMonitoringAlertInputBuilder
fn default() -> UpdateMonitoringAlertInputBuilder
source§impl PartialEq for UpdateMonitoringAlertInputBuilder
impl PartialEq for UpdateMonitoringAlertInputBuilder
source§fn eq(&self, other: &UpdateMonitoringAlertInputBuilder) -> bool
fn eq(&self, other: &UpdateMonitoringAlertInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateMonitoringAlertInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateMonitoringAlertInputBuilder
impl RefUnwindSafe for UpdateMonitoringAlertInputBuilder
impl Send for UpdateMonitoringAlertInputBuilder
impl Sync for UpdateMonitoringAlertInputBuilder
impl Unpin for UpdateMonitoringAlertInputBuilder
impl UnwindSafe for UpdateMonitoringAlertInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more