Struct aws_sdk_sagemaker::model::auto_rollback_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AutoRollbackConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn alarms(self, input: Alarm) -> Self
pub fn alarms(self, input: Alarm) -> Self
Appends an item to alarms
.
To override the contents of this collection use set_alarms
.
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.
sourcepub fn set_alarms(self, input: Option<Vec<Alarm>>) -> Self
pub fn set_alarms(self, input: Option<Vec<Alarm>>) -> Self
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.
sourcepub fn build(self) -> AutoRollbackConfig
pub fn build(self) -> AutoRollbackConfig
Consumes the builder and constructs a AutoRollbackConfig
.