#[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 get_configured(&self) -> &Option<bool>
pub fn get_configured(&self) -> &Option<bool>
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 for LaunchTemplateHibernationOptionsBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for LaunchTemplateHibernationOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LaunchTemplateHibernationOptionsBuilder
impl Send for LaunchTemplateHibernationOptionsBuilder
impl Sync for LaunchTemplateHibernationOptionsBuilder
impl Unpin for LaunchTemplateHibernationOptionsBuilder
impl UnwindSafe for LaunchTemplateHibernationOptionsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.