Struct aws_sdk_lambda::operation::put_function_event_invoke_config::builders::PutFunctionEventInvokeConfigOutputBuilder
source · #[non_exhaustive]pub struct PutFunctionEventInvokeConfigOutputBuilder { /* private fields */ }
Expand description
A builder for PutFunctionEventInvokeConfigOutput
.
Implementations§
source§impl PutFunctionEventInvokeConfigOutputBuilder
impl PutFunctionEventInvokeConfigOutputBuilder
sourcepub fn last_modified(self, input: DateTime) -> Self
pub fn last_modified(self, input: DateTime) -> Self
The date and time that the configuration was last updated.
sourcepub fn set_last_modified(self, input: Option<DateTime>) -> Self
pub fn set_last_modified(self, input: Option<DateTime>) -> Self
The date and time that the configuration was last updated.
sourcepub fn get_last_modified(&self) -> &Option<DateTime>
pub fn get_last_modified(&self) -> &Option<DateTime>
The date and time that the configuration was last updated.
sourcepub fn function_arn(self, input: impl Into<String>) -> Self
pub fn function_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the function.
sourcepub fn set_function_arn(self, input: Option<String>) -> Self
pub fn set_function_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the function.
sourcepub fn get_function_arn(&self) -> &Option<String>
pub fn get_function_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the function.
sourcepub fn maximum_retry_attempts(self, input: i32) -> Self
pub fn maximum_retry_attempts(self, input: i32) -> Self
The maximum number of times to retry when the function returns an error.
sourcepub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
pub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
The maximum number of times to retry when the function returns an error.
sourcepub fn get_maximum_retry_attempts(&self) -> &Option<i32>
pub fn get_maximum_retry_attempts(&self) -> &Option<i32>
The maximum number of times to retry when the function returns an error.
sourcepub fn maximum_event_age_in_seconds(self, input: i32) -> Self
pub fn maximum_event_age_in_seconds(self, input: i32) -> Self
The maximum age of a request that Lambda sends to a function for processing.
sourcepub fn set_maximum_event_age_in_seconds(self, input: Option<i32>) -> Self
pub fn set_maximum_event_age_in_seconds(self, input: Option<i32>) -> Self
The maximum age of a request that Lambda sends to a function for processing.
sourcepub fn get_maximum_event_age_in_seconds(&self) -> &Option<i32>
pub fn get_maximum_event_age_in_seconds(&self) -> &Option<i32>
The maximum age of a request that Lambda sends to a function for processing.
sourcepub fn destination_config(self, input: DestinationConfig) -> Self
pub fn destination_config(self, input: DestinationConfig) -> Self
A destination for events after they have been sent to a function for processing.
Destinations
-
Function - The Amazon Resource Name (ARN) of a Lambda function.
-
Queue - The ARN of a standard SQS queue.
-
Topic - The ARN of a standard SNS topic.
-
Event Bus - The ARN of an Amazon EventBridge event bus.
sourcepub fn set_destination_config(self, input: Option<DestinationConfig>) -> Self
pub fn set_destination_config(self, input: Option<DestinationConfig>) -> Self
A destination for events after they have been sent to a function for processing.
Destinations
-
Function - The Amazon Resource Name (ARN) of a Lambda function.
-
Queue - The ARN of a standard SQS queue.
-
Topic - The ARN of a standard SNS topic.
-
Event Bus - The ARN of an Amazon EventBridge event bus.
sourcepub fn get_destination_config(&self) -> &Option<DestinationConfig>
pub fn get_destination_config(&self) -> &Option<DestinationConfig>
A destination for events after they have been sent to a function for processing.
Destinations
-
Function - The Amazon Resource Name (ARN) of a Lambda function.
-
Queue - The ARN of a standard SQS queue.
-
Topic - The ARN of a standard SNS topic.
-
Event Bus - The ARN of an Amazon EventBridge event bus.
sourcepub fn build(self) -> PutFunctionEventInvokeConfigOutput
pub fn build(self) -> PutFunctionEventInvokeConfigOutput
Consumes the builder and constructs a PutFunctionEventInvokeConfigOutput
.
Trait Implementations§
source§impl Clone for PutFunctionEventInvokeConfigOutputBuilder
impl Clone for PutFunctionEventInvokeConfigOutputBuilder
source§fn clone(&self) -> PutFunctionEventInvokeConfigOutputBuilder
fn clone(&self) -> PutFunctionEventInvokeConfigOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutFunctionEventInvokeConfigOutputBuilder
impl Default for PutFunctionEventInvokeConfigOutputBuilder
source§fn default() -> PutFunctionEventInvokeConfigOutputBuilder
fn default() -> PutFunctionEventInvokeConfigOutputBuilder
source§impl PartialEq for PutFunctionEventInvokeConfigOutputBuilder
impl PartialEq for PutFunctionEventInvokeConfigOutputBuilder
source§fn eq(&self, other: &PutFunctionEventInvokeConfigOutputBuilder) -> bool
fn eq(&self, other: &PutFunctionEventInvokeConfigOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutFunctionEventInvokeConfigOutputBuilder
Auto Trait Implementations§
impl Freeze for PutFunctionEventInvokeConfigOutputBuilder
impl RefUnwindSafe for PutFunctionEventInvokeConfigOutputBuilder
impl Send for PutFunctionEventInvokeConfigOutputBuilder
impl Sync for PutFunctionEventInvokeConfigOutputBuilder
impl Unpin for PutFunctionEventInvokeConfigOutputBuilder
impl UnwindSafe for PutFunctionEventInvokeConfigOutputBuilder
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