pub struct Builder { /* private fields */ }
Expand description
A builder for AutoRollbackConfiguration
.
Implementations§
source§impl Builder
impl Builder
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
.