Struct aws_sdk_ec2::model::hibernation_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for HibernationOptions
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn configured(self, input: bool) -> Self
pub fn configured(self, input: bool) -> Self
If this parameter is set to true
, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.
sourcepub fn set_configured(self, input: Option<bool>) -> Self
pub fn set_configured(self, input: Option<bool>) -> Self
If this parameter is set to true
, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.
sourcepub fn build(self) -> HibernationOptions
pub fn build(self) -> HibernationOptions
Consumes the builder and constructs a HibernationOptions
.