#[non_exhaustive]pub struct LambdaFunctionInfoBuilder { /* private fields */ }
Expand description
A builder for LambdaFunctionInfo
.
Implementations§
source§impl LambdaFunctionInfoBuilder
impl LambdaFunctionInfoBuilder
sourcepub fn function_name(self, input: impl Into<String>) -> Self
pub fn function_name(self, input: impl Into<String>) -> Self
The name of a Lambda function.
sourcepub fn set_function_name(self, input: Option<String>) -> Self
pub fn set_function_name(self, input: Option<String>) -> Self
The name of a Lambda function.
sourcepub fn get_function_name(&self) -> &Option<String>
pub fn get_function_name(&self) -> &Option<String>
The name of a Lambda function.
sourcepub fn function_alias(self, input: impl Into<String>) -> Self
pub fn function_alias(self, input: impl Into<String>) -> Self
The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.
sourcepub fn set_function_alias(self, input: Option<String>) -> Self
pub fn set_function_alias(self, input: Option<String>) -> Self
The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.
sourcepub fn get_function_alias(&self) -> &Option<String>
pub fn get_function_alias(&self) -> &Option<String>
The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
The version of a Lambda function that production traffic points to.
sourcepub fn set_current_version(self, input: Option<String>) -> Self
pub fn set_current_version(self, input: Option<String>) -> Self
The version of a Lambda function that production traffic points to.
sourcepub fn get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
The version of a Lambda function that production traffic points to.
sourcepub fn target_version(self, input: impl Into<String>) -> Self
pub fn target_version(self, input: impl Into<String>) -> Self
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
sourcepub fn set_target_version(self, input: Option<String>) -> Self
pub fn set_target_version(self, input: Option<String>) -> Self
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
sourcepub fn get_target_version(&self) -> &Option<String>
pub fn get_target_version(&self) -> &Option<String>
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
sourcepub fn target_version_weight(self, input: f64) -> Self
pub fn target_version_weight(self, input: f64) -> Self
The percentage of production traffic that the target version of a Lambda function receives.
sourcepub fn set_target_version_weight(self, input: Option<f64>) -> Self
pub fn set_target_version_weight(self, input: Option<f64>) -> Self
The percentage of production traffic that the target version of a Lambda function receives.
sourcepub fn get_target_version_weight(&self) -> &Option<f64>
pub fn get_target_version_weight(&self) -> &Option<f64>
The percentage of production traffic that the target version of a Lambda function receives.
sourcepub fn build(self) -> LambdaFunctionInfo
pub fn build(self) -> LambdaFunctionInfo
Consumes the builder and constructs a LambdaFunctionInfo
.
Trait Implementations§
source§impl Clone for LambdaFunctionInfoBuilder
impl Clone for LambdaFunctionInfoBuilder
source§fn clone(&self) -> LambdaFunctionInfoBuilder
fn clone(&self) -> LambdaFunctionInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LambdaFunctionInfoBuilder
impl Debug for LambdaFunctionInfoBuilder
source§impl Default for LambdaFunctionInfoBuilder
impl Default for LambdaFunctionInfoBuilder
source§fn default() -> LambdaFunctionInfoBuilder
fn default() -> LambdaFunctionInfoBuilder
source§impl PartialEq for LambdaFunctionInfoBuilder
impl PartialEq for LambdaFunctionInfoBuilder
source§fn eq(&self, other: &LambdaFunctionInfoBuilder) -> bool
fn eq(&self, other: &LambdaFunctionInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LambdaFunctionInfoBuilder
Auto Trait Implementations§
impl Freeze for LambdaFunctionInfoBuilder
impl RefUnwindSafe for LambdaFunctionInfoBuilder
impl Send for LambdaFunctionInfoBuilder
impl Sync for LambdaFunctionInfoBuilder
impl Unpin for LambdaFunctionInfoBuilder
impl UnwindSafe for LambdaFunctionInfoBuilder
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> 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