Struct aws_sdk_securityhub::types::builders::AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
source · #[non_exhaustive]pub struct AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder { /* private fields */ }Expand description
A builder for AwsEc2LaunchTemplateDataHibernationOptionsDetails.
Implementations§
source§impl AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
impl AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
sourcepub fn configured(self, input: bool) -> Self
pub fn configured(self, input: bool) -> Self
If you set this parameter to true, the instance is enabled for hibernation.
sourcepub fn set_configured(self, input: Option<bool>) -> Self
pub fn set_configured(self, input: Option<bool>) -> Self
If you set this parameter to true, the instance is enabled for hibernation.
sourcepub fn get_configured(&self) -> &Option<bool>
pub fn get_configured(&self) -> &Option<bool>
If you set this parameter to true, the instance is enabled for hibernation.
sourcepub fn build(self) -> AwsEc2LaunchTemplateDataHibernationOptionsDetails
pub fn build(self) -> AwsEc2LaunchTemplateDataHibernationOptionsDetails
Consumes the builder and constructs a AwsEc2LaunchTemplateDataHibernationOptionsDetails.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
impl Clone for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
source§fn clone(&self) -> AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
fn clone(&self) -> AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
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 Default for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
impl Default for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
source§fn default() -> AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
fn default() -> AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
impl PartialEq for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
source§fn eq(
&self,
other: &AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder ) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
impl Send for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
impl Sync for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
impl Unpin for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
impl UnwindSafe for AwsEc2LaunchTemplateDataHibernationOptionsDetailsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.