#[non_exhaustive]pub struct LaunchTemplateInstanceMaintenanceOptionsRequestBuilder { /* private fields */ }Expand description
A builder for LaunchTemplateInstanceMaintenanceOptionsRequest.
Implementations§
source§impl LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
impl LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
sourcepub fn auto_recovery(self, input: LaunchTemplateAutoRecoveryState) -> Self
pub fn auto_recovery(self, input: LaunchTemplateAutoRecoveryState) -> Self
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see Simplified automatic recovery.
sourcepub fn set_auto_recovery(
self,
input: Option<LaunchTemplateAutoRecoveryState>
) -> Self
pub fn set_auto_recovery( self, input: Option<LaunchTemplateAutoRecoveryState> ) -> Self
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see Simplified automatic recovery.
sourcepub fn build(self) -> LaunchTemplateInstanceMaintenanceOptionsRequest
pub fn build(self) -> LaunchTemplateInstanceMaintenanceOptionsRequest
Consumes the builder and constructs a LaunchTemplateInstanceMaintenanceOptionsRequest.
Trait Implementations§
source§impl Clone for LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
impl Clone for LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
source§fn clone(&self) -> LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
fn clone(&self) -> LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
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 LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
impl Default for LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
source§fn default() -> LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
fn default() -> LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LaunchTemplateInstanceMaintenanceOptionsRequestBuilder> for LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
impl PartialEq<LaunchTemplateInstanceMaintenanceOptionsRequestBuilder> for LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
source§fn eq(
&self,
other: &LaunchTemplateInstanceMaintenanceOptionsRequestBuilder
) -> bool
fn eq( &self, other: &LaunchTemplateInstanceMaintenanceOptionsRequestBuilder ) -> bool
This method tests for
self and other values to be equal, and is used
by ==.