#[non_exhaustive]pub struct LaunchTemplateEnclaveOptionsBuilder { /* private fields */ }
Expand description
A builder for LaunchTemplateEnclaveOptions
.
Implementations§
source§impl LaunchTemplateEnclaveOptionsBuilder
impl LaunchTemplateEnclaveOptionsBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
If this parameter is set to true
, the instance is enabled for Amazon Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web Services Nitro Enclaves.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
If this parameter is set to true
, the instance is enabled for Amazon Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web Services Nitro Enclaves.
sourcepub fn build(self) -> LaunchTemplateEnclaveOptions
pub fn build(self) -> LaunchTemplateEnclaveOptions
Consumes the builder and constructs a LaunchTemplateEnclaveOptions
.
Trait Implementations§
source§impl Clone for LaunchTemplateEnclaveOptionsBuilder
impl Clone for LaunchTemplateEnclaveOptionsBuilder
source§fn clone(&self) -> LaunchTemplateEnclaveOptionsBuilder
fn clone(&self) -> LaunchTemplateEnclaveOptionsBuilder
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 LaunchTemplateEnclaveOptionsBuilder
impl Default for LaunchTemplateEnclaveOptionsBuilder
source§fn default() -> LaunchTemplateEnclaveOptionsBuilder
fn default() -> LaunchTemplateEnclaveOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LaunchTemplateEnclaveOptionsBuilder> for LaunchTemplateEnclaveOptionsBuilder
impl PartialEq<LaunchTemplateEnclaveOptionsBuilder> for LaunchTemplateEnclaveOptionsBuilder
source§fn eq(&self, other: &LaunchTemplateEnclaveOptionsBuilder) -> bool
fn eq(&self, other: &LaunchTemplateEnclaveOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.