#[non_exhaustive]pub struct AutoRollbackConfigBuilder { /* private fields */ }
Expand description
A builder for AutoRollbackConfig
.
Implementations§
source§impl AutoRollbackConfigBuilder
impl AutoRollbackConfigBuilder
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 get_alarms(&self) -> &Option<Vec<Alarm>>
pub fn get_alarms(&self) -> &Option<Vec<Alarm>>
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
.
Trait Implementations§
source§impl Clone for AutoRollbackConfigBuilder
impl Clone for AutoRollbackConfigBuilder
source§fn clone(&self) -> AutoRollbackConfigBuilder
fn clone(&self) -> AutoRollbackConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AutoRollbackConfigBuilder
impl Debug for AutoRollbackConfigBuilder
source§impl Default for AutoRollbackConfigBuilder
impl Default for AutoRollbackConfigBuilder
source§fn default() -> AutoRollbackConfigBuilder
fn default() -> AutoRollbackConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AutoRollbackConfigBuilder
impl PartialEq for AutoRollbackConfigBuilder
source§fn eq(&self, other: &AutoRollbackConfigBuilder) -> bool
fn eq(&self, other: &AutoRollbackConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoRollbackConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AutoRollbackConfigBuilder
impl Send for AutoRollbackConfigBuilder
impl Sync for AutoRollbackConfigBuilder
impl Unpin for AutoRollbackConfigBuilder
impl UnwindSafe for AutoRollbackConfigBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.