#[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 get_enabled(&self) -> &Option<bool>
 
pub fn get_enabled(&self) -> &Option<bool>
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 for LaunchTemplateEnclaveOptionsBuilder
 
impl PartialEq 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 ==.impl StructuralPartialEq for LaunchTemplateEnclaveOptionsBuilder
Auto Trait Implementations§
impl Freeze for LaunchTemplateEnclaveOptionsBuilder
impl RefUnwindSafe for LaunchTemplateEnclaveOptionsBuilder
impl Send for LaunchTemplateEnclaveOptionsBuilder
impl Sync for LaunchTemplateEnclaveOptionsBuilder
impl Unpin for LaunchTemplateEnclaveOptionsBuilder
impl UnwindSafe for LaunchTemplateEnclaveOptionsBuilder
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.