#[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 ==
.impl StructuralPartialEq for LambdaOutputBuilder
Auto Trait Implementations§
impl Freeze for LambdaOutputBuilder
impl RefUnwindSafe for LambdaOutputBuilder
impl Send for LambdaOutputBuilder
impl Sync for LambdaOutputBuilder
impl Unpin for LambdaOutputBuilder
impl UnwindSafe for LambdaOutputBuilder
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