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 ==
.