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
sourceimpl 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.
sourceimpl HibernationOptions
impl HibernationOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture HibernationOptions
.
Trait Implementations
sourceimpl Clone for HibernationOptions
impl Clone for HibernationOptions
sourcefn clone(&self) -> HibernationOptions
fn clone(&self) -> HibernationOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HibernationOptions
impl Debug for HibernationOptions
sourceimpl PartialEq<HibernationOptions> for HibernationOptions
impl PartialEq<HibernationOptions> for HibernationOptions
sourcefn eq(&self, other: &HibernationOptions) -> bool
fn eq(&self, other: &HibernationOptions) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more