Struct aws_sdk_ec2::types::HibernationOptions
source · #[non_exhaustive]pub struct HibernationOptions { /* private fields */ }
Expand description
Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon EC2 User Guide.
Implementations§
source§impl HibernationOptions
impl HibernationOptions
sourcepub fn configured(&self) -> Option<bool>
pub fn configured(&self) -> Option<bool>
If this parameter is set to true
, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.
source§impl HibernationOptions
impl HibernationOptions
sourcepub fn builder() -> HibernationOptionsBuilder
pub fn builder() -> HibernationOptionsBuilder
Creates a new builder-style object to manufacture HibernationOptions
.
Trait Implementations§
source§impl Clone for HibernationOptions
impl Clone for HibernationOptions
source§fn clone(&self) -> HibernationOptions
fn clone(&self) -> HibernationOptions
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 Debug for HibernationOptions
impl Debug for HibernationOptions
source§impl PartialEq<HibernationOptions> for HibernationOptions
impl PartialEq<HibernationOptions> for HibernationOptions
source§fn eq(&self, other: &HibernationOptions) -> bool
fn eq(&self, other: &HibernationOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HibernationOptions
Auto Trait Implementations§
impl RefUnwindSafe for HibernationOptions
impl Send for HibernationOptions
impl Sync for HibernationOptions
impl Unpin for HibernationOptions
impl UnwindSafe for HibernationOptions
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