Struct aws_sdk_ec2::model::instance_maintenance_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceMaintenanceOptions
.
Implementations§
source§impl 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
.