#[non_exhaustive]pub struct AutoRollbackConfigurationBuilder { /* private fields */ }
Expand description
A builder for AutoRollbackConfiguration
.
Implementations§
source§impl AutoRollbackConfigurationBuilder
impl AutoRollbackConfigurationBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Indicates whether a defined automatic rollback configuration is currently enabled.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether a defined automatic rollback configuration is currently enabled.
sourcepub fn events(self, input: AutoRollbackEvent) -> Self
pub fn events(self, input: AutoRollbackEvent) -> Self
Appends an item to events
.
To override the contents of this collection use set_events
.
The event type or types that trigger a rollback.
sourcepub fn set_events(self, input: Option<Vec<AutoRollbackEvent>>) -> Self
pub fn set_events(self, input: Option<Vec<AutoRollbackEvent>>) -> Self
The event type or types that trigger a rollback.
sourcepub fn build(self) -> AutoRollbackConfiguration
pub fn build(self) -> AutoRollbackConfiguration
Consumes the builder and constructs a AutoRollbackConfiguration
.
Trait Implementations§
source§impl Clone for AutoRollbackConfigurationBuilder
impl Clone for AutoRollbackConfigurationBuilder
source§fn clone(&self) -> AutoRollbackConfigurationBuilder
fn clone(&self) -> AutoRollbackConfigurationBuilder
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 Default for AutoRollbackConfigurationBuilder
impl Default for AutoRollbackConfigurationBuilder
source§fn default() -> AutoRollbackConfigurationBuilder
fn default() -> AutoRollbackConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AutoRollbackConfigurationBuilder> for AutoRollbackConfigurationBuilder
impl PartialEq<AutoRollbackConfigurationBuilder> for AutoRollbackConfigurationBuilder
source§fn eq(&self, other: &AutoRollbackConfigurationBuilder) -> bool
fn eq(&self, other: &AutoRollbackConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.