Struct aws_sdk_lambda::types::builders::SnapStartResponseBuilder
source · #[non_exhaustive]pub struct SnapStartResponseBuilder { /* private fields */ }
Expand description
A builder for SnapStartResponse
.
Implementations§
source§impl SnapStartResponseBuilder
impl SnapStartResponseBuilder
sourcepub fn apply_on(self, input: SnapStartApplyOn) -> Self
pub fn apply_on(self, input: SnapStartApplyOn) -> Self
When set to PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.
sourcepub fn set_apply_on(self, input: Option<SnapStartApplyOn>) -> Self
pub fn set_apply_on(self, input: Option<SnapStartApplyOn>) -> Self
When set to PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.
sourcepub fn get_apply_on(&self) -> &Option<SnapStartApplyOn>
pub fn get_apply_on(&self) -> &Option<SnapStartApplyOn>
When set to PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.
sourcepub fn optimization_status(self, input: SnapStartOptimizationStatus) -> Self
pub fn optimization_status(self, input: SnapStartOptimizationStatus) -> Self
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
sourcepub fn set_optimization_status(
self,
input: Option<SnapStartOptimizationStatus>,
) -> Self
pub fn set_optimization_status( self, input: Option<SnapStartOptimizationStatus>, ) -> Self
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
sourcepub fn get_optimization_status(&self) -> &Option<SnapStartOptimizationStatus>
pub fn get_optimization_status(&self) -> &Option<SnapStartOptimizationStatus>
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
sourcepub fn build(self) -> SnapStartResponse
pub fn build(self) -> SnapStartResponse
Consumes the builder and constructs a SnapStartResponse
.
Trait Implementations§
source§impl Clone for SnapStartResponseBuilder
impl Clone for SnapStartResponseBuilder
source§fn clone(&self) -> SnapStartResponseBuilder
fn clone(&self) -> SnapStartResponseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SnapStartResponseBuilder
impl Debug for SnapStartResponseBuilder
source§impl Default for SnapStartResponseBuilder
impl Default for SnapStartResponseBuilder
source§fn default() -> SnapStartResponseBuilder
fn default() -> SnapStartResponseBuilder
source§impl PartialEq for SnapStartResponseBuilder
impl PartialEq for SnapStartResponseBuilder
source§fn eq(&self, other: &SnapStartResponseBuilder) -> bool
fn eq(&self, other: &SnapStartResponseBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SnapStartResponseBuilder
Auto Trait Implementations§
impl Freeze for SnapStartResponseBuilder
impl RefUnwindSafe for SnapStartResponseBuilder
impl Send for SnapStartResponseBuilder
impl Sync for SnapStartResponseBuilder
impl Unpin for SnapStartResponseBuilder
impl UnwindSafe for SnapStartResponseBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more