Struct aws_sdk_ec2::types::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() -> HibernationOptionsRequestBuilder
pub fn builder() -> HibernationOptionsRequestBuilder
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 ==
.impl StructuralPartialEq for HibernationOptionsRequest
Auto Trait Implementations§
impl RefUnwindSafe for HibernationOptionsRequest
impl Send for HibernationOptionsRequest
impl Sync for HibernationOptionsRequest
impl Unpin for HibernationOptionsRequest
impl UnwindSafe for HibernationOptionsRequest
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