#[non_exhaustive]pub struct ScheduleLambdaFunctionFailedEventAttributesBuilder { /* private fields */ }
Expand description
A builder for ScheduleLambdaFunctionFailedEventAttributes
.
Implementations§
source§impl ScheduleLambdaFunctionFailedEventAttributesBuilder
impl ScheduleLambdaFunctionFailedEventAttributesBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID provided in the ScheduleLambdaFunction
decision that failed.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID provided in the ScheduleLambdaFunction
decision that failed.
sourcepub fn cause(self, input: ScheduleLambdaFunctionFailedCause) -> Self
pub fn cause(self, input: ScheduleLambdaFunctionFailedCause) -> Self
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
sourcepub fn set_cause(self, input: Option<ScheduleLambdaFunctionFailedCause>) -> Self
pub fn set_cause(self, input: Option<ScheduleLambdaFunctionFailedCause>) -> Self
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
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 Lambda 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 Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
sourcepub fn build(self) -> ScheduleLambdaFunctionFailedEventAttributes
pub fn build(self) -> ScheduleLambdaFunctionFailedEventAttributes
Consumes the builder and constructs a ScheduleLambdaFunctionFailedEventAttributes
.
Trait Implementations§
source§impl Clone for ScheduleLambdaFunctionFailedEventAttributesBuilder
impl Clone for ScheduleLambdaFunctionFailedEventAttributesBuilder
source§fn clone(&self) -> ScheduleLambdaFunctionFailedEventAttributesBuilder
fn clone(&self) -> ScheduleLambdaFunctionFailedEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ScheduleLambdaFunctionFailedEventAttributesBuilder
impl Default for ScheduleLambdaFunctionFailedEventAttributesBuilder
source§fn default() -> ScheduleLambdaFunctionFailedEventAttributesBuilder
fn default() -> ScheduleLambdaFunctionFailedEventAttributesBuilder
source§impl PartialEq<ScheduleLambdaFunctionFailedEventAttributesBuilder> for ScheduleLambdaFunctionFailedEventAttributesBuilder
impl PartialEq<ScheduleLambdaFunctionFailedEventAttributesBuilder> for ScheduleLambdaFunctionFailedEventAttributesBuilder
source§fn eq(&self, other: &ScheduleLambdaFunctionFailedEventAttributesBuilder) -> bool
fn eq(&self, other: &ScheduleLambdaFunctionFailedEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.