#[non_exhaustive]pub struct LambdaFunctionScheduledEventAttributesBuilder { /* private fields */ }
Expand description
A builder for LambdaFunctionScheduledEventAttributes
.
Implementations§
source§impl LambdaFunctionScheduledEventAttributesBuilder
impl LambdaFunctionScheduledEventAttributesBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique ID of the Lambda task.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Lambda function.
This field is required.sourcepub fn control(self, input: impl Into<String>) -> Self
pub fn control(self, input: impl Into<String>) -> Self
Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.
sourcepub fn set_control(self, input: Option<String>) -> Self
pub fn set_control(self, input: Option<String>) -> Self
Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.
sourcepub fn get_control(&self) -> &Option<String>
pub fn get_control(&self) -> &Option<String>
Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.
sourcepub fn start_to_close_timeout(self, input: impl Into<String>) -> Self
pub fn start_to_close_timeout(self, input: impl Into<String>) -> Self
The maximum amount of time a worker can take to process the Lambda task.
sourcepub fn set_start_to_close_timeout(self, input: Option<String>) -> Self
pub fn set_start_to_close_timeout(self, input: Option<String>) -> Self
The maximum amount of time a worker can take to process the Lambda task.
sourcepub fn get_start_to_close_timeout(&self) -> &Option<String>
pub fn get_start_to_close_timeout(&self) -> &Option<String>
The maximum amount of time a worker can take to process the Lambda task.
sourcepub fn decision_task_completed_event_id(self, input: i64) -> Self
pub fn decision_task_completed_event_id(self, input: i64) -> Self
The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
sourcepub fn set_decision_task_completed_event_id(self, input: Option<i64>) -> Self
pub fn set_decision_task_completed_event_id(self, input: Option<i64>) -> Self
The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
sourcepub fn get_decision_task_completed_event_id(&self) -> &Option<i64>
pub fn get_decision_task_completed_event_id(&self) -> &Option<i64>
The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
sourcepub fn build(self) -> Result<LambdaFunctionScheduledEventAttributes, BuildError>
pub fn build(self) -> Result<LambdaFunctionScheduledEventAttributes, BuildError>
Consumes the builder and constructs a LambdaFunctionScheduledEventAttributes
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LambdaFunctionScheduledEventAttributesBuilder
impl Clone for LambdaFunctionScheduledEventAttributesBuilder
source§fn clone(&self) -> LambdaFunctionScheduledEventAttributesBuilder
fn clone(&self) -> LambdaFunctionScheduledEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LambdaFunctionScheduledEventAttributesBuilder
impl Default for LambdaFunctionScheduledEventAttributesBuilder
source§fn default() -> LambdaFunctionScheduledEventAttributesBuilder
fn default() -> LambdaFunctionScheduledEventAttributesBuilder
source§impl PartialEq for LambdaFunctionScheduledEventAttributesBuilder
impl PartialEq for LambdaFunctionScheduledEventAttributesBuilder
source§fn eq(&self, other: &LambdaFunctionScheduledEventAttributesBuilder) -> bool
fn eq(&self, other: &LambdaFunctionScheduledEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.