#[non_exhaustive]pub struct LaunchTemplateHibernationOptionsRequest {
pub configured: Option<bool>,
}
Expand description
Indicates whether the instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.configured: Option<bool>
If you set this parameter to true
, the instance is enabled for hibernation.
Default: false
Implementations§
source§impl LaunchTemplateHibernationOptionsRequest
impl LaunchTemplateHibernationOptionsRequest
sourcepub fn configured(&self) -> Option<bool>
pub fn configured(&self) -> Option<bool>
If you set this parameter to true
, the instance is enabled for hibernation.
Default: false
source§impl LaunchTemplateHibernationOptionsRequest
impl LaunchTemplateHibernationOptionsRequest
sourcepub fn builder() -> LaunchTemplateHibernationOptionsRequestBuilder
pub fn builder() -> LaunchTemplateHibernationOptionsRequestBuilder
Creates a new builder-style object to manufacture LaunchTemplateHibernationOptionsRequest
.
Trait Implementations§
source§impl Clone for LaunchTemplateHibernationOptionsRequest
impl Clone for LaunchTemplateHibernationOptionsRequest
source§fn clone(&self) -> LaunchTemplateHibernationOptionsRequest
fn clone(&self) -> LaunchTemplateHibernationOptionsRequest
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 PartialEq<LaunchTemplateHibernationOptionsRequest> for LaunchTemplateHibernationOptionsRequest
impl PartialEq<LaunchTemplateHibernationOptionsRequest> for LaunchTemplateHibernationOptionsRequest
source§fn eq(&self, other: &LaunchTemplateHibernationOptionsRequest) -> bool
fn eq(&self, other: &LaunchTemplateHibernationOptionsRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchTemplateHibernationOptionsRequest
Auto Trait Implementations§
impl RefUnwindSafe for LaunchTemplateHibernationOptionsRequest
impl Send for LaunchTemplateHibernationOptionsRequest
impl Sync for LaunchTemplateHibernationOptionsRequest
impl Unpin for LaunchTemplateHibernationOptionsRequest
impl UnwindSafe for LaunchTemplateHibernationOptionsRequest
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