Struct aws_sdk_iotanalytics::model::lambda_activity::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for LambdaActivity.
Implementations§
source§impl Builder
impl Builder
sourcepub fn lambda_name(self, input: impl Into<String>) -> Self
pub fn lambda_name(self, input: impl Into<String>) -> Self
The name of the Lambda function that is run on the message.
sourcepub fn set_lambda_name(self, input: Option<String>) -> Self
pub fn set_lambda_name(self, input: Option<String>) -> Self
The name of the Lambda function that is run on the message.
sourcepub fn batch_size(self, input: i32) -> Self
pub fn batch_size(self, input: i32) -> Self
The number of messages passed to the Lambda function for processing.
The Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
sourcepub fn set_batch_size(self, input: Option<i32>) -> Self
pub fn set_batch_size(self, input: Option<i32>) -> Self
The number of messages passed to the Lambda function for processing.
The Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
sourcepub fn build(self) -> LambdaActivity
pub fn build(self) -> LambdaActivity
Consumes the builder and constructs a LambdaActivity.