Struct aws_sdk_ec2::model::instance_maintenance_options::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceMaintenanceOptions
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn auto_recovery(self, input: InstanceAutoRecoveryState) -> Self
pub fn auto_recovery(self, input: InstanceAutoRecoveryState) -> Self
Provides information on the current automatic recovery behavior of your instance.
sourcepub fn set_auto_recovery(self, input: Option<InstanceAutoRecoveryState>) -> Self
pub fn set_auto_recovery(self, input: Option<InstanceAutoRecoveryState>) -> Self
Provides information on the current automatic recovery behavior of your instance.
sourcepub fn build(self) -> InstanceMaintenanceOptions
pub fn build(self) -> InstanceMaintenanceOptions
Consumes the builder and constructs a InstanceMaintenanceOptions
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more