Struct aws_sdk_ec2::model::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() -> Builder
pub fn builder() -> Builder
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 ==
.