#[non_exhaustive]pub struct StartLambdaFunctionFailedEventAttributesBuilder { /* private fields */ }
Expand description
A builder for StartLambdaFunctionFailedEventAttributes
.
Implementations§
source§impl StartLambdaFunctionFailedEventAttributesBuilder
impl StartLambdaFunctionFailedEventAttributesBuilder
sourcepub fn scheduled_event_id(self, input: i64) -> Self
pub fn scheduled_event_id(self, input: i64) -> Self
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
sourcepub fn set_scheduled_event_id(self, input: Option<i64>) -> Self
pub fn set_scheduled_event_id(self, input: Option<i64>) -> Self
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
sourcepub fn get_scheduled_event_id(&self) -> &Option<i64>
pub fn get_scheduled_event_id(&self) -> &Option<i64>
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
sourcepub fn cause(self, input: StartLambdaFunctionFailedCause) -> Self
pub fn cause(self, input: StartLambdaFunctionFailedCause) -> 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 the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.
sourcepub fn set_cause(self, input: Option<StartLambdaFunctionFailedCause>) -> Self
pub fn set_cause(self, input: Option<StartLambdaFunctionFailedCause>) -> 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 the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.
sourcepub fn get_cause(&self) -> &Option<StartLambdaFunctionFailedCause>
pub fn get_cause(&self) -> &Option<StartLambdaFunctionFailedCause>
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 the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A description that can help diagnose the cause of the fault.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A description that can help diagnose the cause of the fault.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
A description that can help diagnose the cause of the fault.
sourcepub fn build(self) -> StartLambdaFunctionFailedEventAttributes
pub fn build(self) -> StartLambdaFunctionFailedEventAttributes
Consumes the builder and constructs a StartLambdaFunctionFailedEventAttributes
.
Trait Implementations§
source§impl Clone for StartLambdaFunctionFailedEventAttributesBuilder
impl Clone for StartLambdaFunctionFailedEventAttributesBuilder
source§fn clone(&self) -> StartLambdaFunctionFailedEventAttributesBuilder
fn clone(&self) -> StartLambdaFunctionFailedEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartLambdaFunctionFailedEventAttributesBuilder
impl Default for StartLambdaFunctionFailedEventAttributesBuilder
source§fn default() -> StartLambdaFunctionFailedEventAttributesBuilder
fn default() -> StartLambdaFunctionFailedEventAttributesBuilder
source§impl PartialEq for StartLambdaFunctionFailedEventAttributesBuilder
impl PartialEq for StartLambdaFunctionFailedEventAttributesBuilder
source§fn eq(&self, other: &StartLambdaFunctionFailedEventAttributesBuilder) -> bool
fn eq(&self, other: &StartLambdaFunctionFailedEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.