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