Struct aws_sdk_ec2::model::HibernationOptionsRequest
source · #[non_exhaustive]pub struct HibernationOptionsRequest { /* 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 HibernationOptionsRequest
impl HibernationOptionsRequest
sourcepub fn configured(&self) -> Option<bool>
pub fn configured(&self) -> Option<bool>
If you set this parameter to true
, your instance is enabled for hibernation.
Default: false
source§impl HibernationOptionsRequest
impl HibernationOptionsRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture HibernationOptionsRequest
.
Trait Implementations§
source§impl Clone for HibernationOptionsRequest
impl Clone for HibernationOptionsRequest
source§fn clone(&self) -> HibernationOptionsRequest
fn clone(&self) -> HibernationOptionsRequest
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 HibernationOptionsRequest
impl Debug for HibernationOptionsRequest
source§impl PartialEq<HibernationOptionsRequest> for HibernationOptionsRequest
impl PartialEq<HibernationOptionsRequest> for HibernationOptionsRequest
source§fn eq(&self, other: &HibernationOptionsRequest) -> bool
fn eq(&self, other: &HibernationOptionsRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.