#[non_exhaustive]pub struct LambdaOutputBuilder { /* private fields */ }Expand description
A builder for LambdaOutput.
Implementations§
source§impl LambdaOutputBuilder
impl LambdaOutputBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the destination Lambda function to write to.
To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the destination Lambda function to write to.
To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the destination Lambda function to write to.
To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda
sourcepub fn build(self) -> Result<LambdaOutput, BuildError>
pub fn build(self) -> Result<LambdaOutput, BuildError>
Consumes the builder and constructs a LambdaOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LambdaOutputBuilder
impl Clone for LambdaOutputBuilder
source§fn clone(&self) -> LambdaOutputBuilder
fn clone(&self) -> LambdaOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LambdaOutputBuilder
impl Debug for LambdaOutputBuilder
source§impl Default for LambdaOutputBuilder
impl Default for LambdaOutputBuilder
source§fn default() -> LambdaOutputBuilder
fn default() -> LambdaOutputBuilder
source§impl PartialEq for LambdaOutputBuilder
impl PartialEq for LambdaOutputBuilder
source§fn eq(&self, other: &LambdaOutputBuilder) -> bool
fn eq(&self, other: &LambdaOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.