#[non_exhaustive]pub struct LaunchTemplateHibernationOptionsBuilder { /* private fields */ }Expand description
A builder for LaunchTemplateHibernationOptions.
Implementations§
source§impl LaunchTemplateHibernationOptionsBuilder
impl LaunchTemplateHibernationOptionsBuilder
sourcepub fn configured(self, input: bool) -> Self
pub fn configured(self, input: bool) -> Self
If this parameter is set to true, the instance is enabled for hibernation; otherwise, it is not enabled for hibernation.
sourcepub fn set_configured(self, input: Option<bool>) -> Self
pub fn set_configured(self, input: Option<bool>) -> Self
If this parameter is set to true, the instance is enabled for hibernation; otherwise, it is not enabled for hibernation.
sourcepub fn build(self) -> LaunchTemplateHibernationOptions
pub fn build(self) -> LaunchTemplateHibernationOptions
Consumes the builder and constructs a LaunchTemplateHibernationOptions.
Trait Implementations§
source§impl Clone for LaunchTemplateHibernationOptionsBuilder
impl Clone for LaunchTemplateHibernationOptionsBuilder
source§fn clone(&self) -> LaunchTemplateHibernationOptionsBuilder
fn clone(&self) -> LaunchTemplateHibernationOptionsBuilder
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 LaunchTemplateHibernationOptionsBuilder
impl Default for LaunchTemplateHibernationOptionsBuilder
source§fn default() -> LaunchTemplateHibernationOptionsBuilder
fn default() -> LaunchTemplateHibernationOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LaunchTemplateHibernationOptionsBuilder> for LaunchTemplateHibernationOptionsBuilder
impl PartialEq<LaunchTemplateHibernationOptionsBuilder> for LaunchTemplateHibernationOptionsBuilder
source§fn eq(&self, other: &LaunchTemplateHibernationOptionsBuilder) -> bool
fn eq(&self, other: &LaunchTemplateHibernationOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.