Struct aws_sdk_sfn::model::history_event::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for HistoryEvent
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
The date and time the event occurred.
sourcepub fn type(self, input: HistoryEventType) -> Self
pub fn type(self, input: HistoryEventType) -> Self
The type of the event.
sourcepub fn set_type(self, input: Option<HistoryEventType>) -> Self
pub fn set_type(self, input: Option<HistoryEventType>) -> Self
The type of the event.
sourcepub fn id(self, input: i64) -> Self
pub fn id(self, input: i64) -> Self
The id of the event. Events are numbered sequentially, starting at one.
sourcepub fn set_id(self, input: Option<i64>) -> Self
pub fn set_id(self, input: Option<i64>) -> Self
The id of the event. Events are numbered sequentially, starting at one.
sourcepub fn previous_event_id(self, input: i64) -> Self
pub fn previous_event_id(self, input: i64) -> Self
The id of the previous event.
sourcepub fn set_previous_event_id(self, input: Option<i64>) -> Self
pub fn set_previous_event_id(self, input: Option<i64>) -> Self
The id of the previous event.
sourcepub fn activity_failed_event_details(
self,
input: ActivityFailedEventDetails
) -> Self
pub fn activity_failed_event_details(
self,
input: ActivityFailedEventDetails
) -> Self
Contains details about an activity that failed during an execution.
sourcepub fn set_activity_failed_event_details(
self,
input: Option<ActivityFailedEventDetails>
) -> Self
pub fn set_activity_failed_event_details(
self,
input: Option<ActivityFailedEventDetails>
) -> Self
Contains details about an activity that failed during an execution.
sourcepub fn activity_schedule_failed_event_details(
self,
input: ActivityScheduleFailedEventDetails
) -> Self
pub fn activity_schedule_failed_event_details(
self,
input: ActivityScheduleFailedEventDetails
) -> Self
Contains details about an activity schedule event that failed during an execution.
sourcepub fn set_activity_schedule_failed_event_details(
self,
input: Option<ActivityScheduleFailedEventDetails>
) -> Self
pub fn set_activity_schedule_failed_event_details(
self,
input: Option<ActivityScheduleFailedEventDetails>
) -> Self
Contains details about an activity schedule event that failed during an execution.
sourcepub fn activity_scheduled_event_details(
self,
input: ActivityScheduledEventDetails
) -> Self
pub fn activity_scheduled_event_details(
self,
input: ActivityScheduledEventDetails
) -> Self
Contains details about an activity scheduled during an execution.
sourcepub fn set_activity_scheduled_event_details(
self,
input: Option<ActivityScheduledEventDetails>
) -> Self
pub fn set_activity_scheduled_event_details(
self,
input: Option<ActivityScheduledEventDetails>
) -> Self
Contains details about an activity scheduled during an execution.
sourcepub fn activity_started_event_details(
self,
input: ActivityStartedEventDetails
) -> Self
pub fn activity_started_event_details(
self,
input: ActivityStartedEventDetails
) -> Self
Contains details about the start of an activity during an execution.
sourcepub fn set_activity_started_event_details(
self,
input: Option<ActivityStartedEventDetails>
) -> Self
pub fn set_activity_started_event_details(
self,
input: Option<ActivityStartedEventDetails>
) -> Self
Contains details about the start of an activity during an execution.
sourcepub fn activity_succeeded_event_details(
self,
input: ActivitySucceededEventDetails
) -> Self
pub fn activity_succeeded_event_details(
self,
input: ActivitySucceededEventDetails
) -> Self
Contains details about an activity that successfully terminated during an execution.
sourcepub fn set_activity_succeeded_event_details(
self,
input: Option<ActivitySucceededEventDetails>
) -> Self
pub fn set_activity_succeeded_event_details(
self,
input: Option<ActivitySucceededEventDetails>
) -> Self
Contains details about an activity that successfully terminated during an execution.
sourcepub fn activity_timed_out_event_details(
self,
input: ActivityTimedOutEventDetails
) -> Self
pub fn activity_timed_out_event_details(
self,
input: ActivityTimedOutEventDetails
) -> Self
Contains details about an activity timeout that occurred during an execution.
sourcepub fn set_activity_timed_out_event_details(
self,
input: Option<ActivityTimedOutEventDetails>
) -> Self
pub fn set_activity_timed_out_event_details(
self,
input: Option<ActivityTimedOutEventDetails>
) -> Self
Contains details about an activity timeout that occurred during an execution.
sourcepub fn task_failed_event_details(self, input: TaskFailedEventDetails) -> Self
pub fn task_failed_event_details(self, input: TaskFailedEventDetails) -> Self
Contains details about the failure of a task.
sourcepub fn set_task_failed_event_details(
self,
input: Option<TaskFailedEventDetails>
) -> Self
pub fn set_task_failed_event_details(
self,
input: Option<TaskFailedEventDetails>
) -> Self
Contains details about the failure of a task.
sourcepub fn task_scheduled_event_details(
self,
input: TaskScheduledEventDetails
) -> Self
pub fn task_scheduled_event_details(
self,
input: TaskScheduledEventDetails
) -> Self
Contains details about a task that was scheduled.
sourcepub fn set_task_scheduled_event_details(
self,
input: Option<TaskScheduledEventDetails>
) -> Self
pub fn set_task_scheduled_event_details(
self,
input: Option<TaskScheduledEventDetails>
) -> Self
Contains details about a task that was scheduled.
sourcepub fn task_start_failed_event_details(
self,
input: TaskStartFailedEventDetails
) -> Self
pub fn task_start_failed_event_details(
self,
input: TaskStartFailedEventDetails
) -> Self
Contains details about a task that failed to start.
sourcepub fn set_task_start_failed_event_details(
self,
input: Option<TaskStartFailedEventDetails>
) -> Self
pub fn set_task_start_failed_event_details(
self,
input: Option<TaskStartFailedEventDetails>
) -> Self
Contains details about a task that failed to start.
sourcepub fn task_started_event_details(self, input: TaskStartedEventDetails) -> Self
pub fn task_started_event_details(self, input: TaskStartedEventDetails) -> Self
Contains details about a task that was started.
sourcepub fn set_task_started_event_details(
self,
input: Option<TaskStartedEventDetails>
) -> Self
pub fn set_task_started_event_details(
self,
input: Option<TaskStartedEventDetails>
) -> Self
Contains details about a task that was started.
sourcepub fn task_submit_failed_event_details(
self,
input: TaskSubmitFailedEventDetails
) -> Self
pub fn task_submit_failed_event_details(
self,
input: TaskSubmitFailedEventDetails
) -> Self
Contains details about a task that where the submit failed.
sourcepub fn set_task_submit_failed_event_details(
self,
input: Option<TaskSubmitFailedEventDetails>
) -> Self
pub fn set_task_submit_failed_event_details(
self,
input: Option<TaskSubmitFailedEventDetails>
) -> Self
Contains details about a task that where the submit failed.
sourcepub fn task_submitted_event_details(
self,
input: TaskSubmittedEventDetails
) -> Self
pub fn task_submitted_event_details(
self,
input: TaskSubmittedEventDetails
) -> Self
Contains details about a submitted task.
sourcepub fn set_task_submitted_event_details(
self,
input: Option<TaskSubmittedEventDetails>
) -> Self
pub fn set_task_submitted_event_details(
self,
input: Option<TaskSubmittedEventDetails>
) -> Self
Contains details about a submitted task.
sourcepub fn task_succeeded_event_details(
self,
input: TaskSucceededEventDetails
) -> Self
pub fn task_succeeded_event_details(
self,
input: TaskSucceededEventDetails
) -> Self
Contains details about a task that succeeded.
sourcepub fn set_task_succeeded_event_details(
self,
input: Option<TaskSucceededEventDetails>
) -> Self
pub fn set_task_succeeded_event_details(
self,
input: Option<TaskSucceededEventDetails>
) -> Self
Contains details about a task that succeeded.
sourcepub fn task_timed_out_event_details(
self,
input: TaskTimedOutEventDetails
) -> Self
pub fn task_timed_out_event_details(
self,
input: TaskTimedOutEventDetails
) -> Self
Contains details about a task that timed out.
sourcepub fn set_task_timed_out_event_details(
self,
input: Option<TaskTimedOutEventDetails>
) -> Self
pub fn set_task_timed_out_event_details(
self,
input: Option<TaskTimedOutEventDetails>
) -> Self
Contains details about a task that timed out.
sourcepub fn execution_failed_event_details(
self,
input: ExecutionFailedEventDetails
) -> Self
pub fn execution_failed_event_details(
self,
input: ExecutionFailedEventDetails
) -> Self
Contains details about an execution failure event.
sourcepub fn set_execution_failed_event_details(
self,
input: Option<ExecutionFailedEventDetails>
) -> Self
pub fn set_execution_failed_event_details(
self,
input: Option<ExecutionFailedEventDetails>
) -> Self
Contains details about an execution failure event.
sourcepub fn execution_started_event_details(
self,
input: ExecutionStartedEventDetails
) -> Self
pub fn execution_started_event_details(
self,
input: ExecutionStartedEventDetails
) -> Self
Contains details about the start of the execution.
sourcepub fn set_execution_started_event_details(
self,
input: Option<ExecutionStartedEventDetails>
) -> Self
pub fn set_execution_started_event_details(
self,
input: Option<ExecutionStartedEventDetails>
) -> Self
Contains details about the start of the execution.
sourcepub fn execution_succeeded_event_details(
self,
input: ExecutionSucceededEventDetails
) -> Self
pub fn execution_succeeded_event_details(
self,
input: ExecutionSucceededEventDetails
) -> Self
Contains details about the successful termination of the execution.
sourcepub fn set_execution_succeeded_event_details(
self,
input: Option<ExecutionSucceededEventDetails>
) -> Self
pub fn set_execution_succeeded_event_details(
self,
input: Option<ExecutionSucceededEventDetails>
) -> Self
Contains details about the successful termination of the execution.
sourcepub fn execution_aborted_event_details(
self,
input: ExecutionAbortedEventDetails
) -> Self
pub fn execution_aborted_event_details(
self,
input: ExecutionAbortedEventDetails
) -> Self
Contains details about an abort of an execution.
sourcepub fn set_execution_aborted_event_details(
self,
input: Option<ExecutionAbortedEventDetails>
) -> Self
pub fn set_execution_aborted_event_details(
self,
input: Option<ExecutionAbortedEventDetails>
) -> Self
Contains details about an abort of an execution.
sourcepub fn execution_timed_out_event_details(
self,
input: ExecutionTimedOutEventDetails
) -> Self
pub fn execution_timed_out_event_details(
self,
input: ExecutionTimedOutEventDetails
) -> Self
Contains details about the execution timeout that occurred during the execution.
sourcepub fn set_execution_timed_out_event_details(
self,
input: Option<ExecutionTimedOutEventDetails>
) -> Self
pub fn set_execution_timed_out_event_details(
self,
input: Option<ExecutionTimedOutEventDetails>
) -> Self
Contains details about the execution timeout that occurred during the execution.
sourcepub fn map_state_started_event_details(
self,
input: MapStateStartedEventDetails
) -> Self
pub fn map_state_started_event_details(
self,
input: MapStateStartedEventDetails
) -> Self
Contains details about Map state that was started.
sourcepub fn set_map_state_started_event_details(
self,
input: Option<MapStateStartedEventDetails>
) -> Self
pub fn set_map_state_started_event_details(
self,
input: Option<MapStateStartedEventDetails>
) -> Self
Contains details about Map state that was started.
sourcepub fn map_iteration_started_event_details(
self,
input: MapIterationEventDetails
) -> Self
pub fn map_iteration_started_event_details(
self,
input: MapIterationEventDetails
) -> Self
Contains details about an iteration of a Map state that was started.
sourcepub fn set_map_iteration_started_event_details(
self,
input: Option<MapIterationEventDetails>
) -> Self
pub fn set_map_iteration_started_event_details(
self,
input: Option<MapIterationEventDetails>
) -> Self
Contains details about an iteration of a Map state that was started.
sourcepub fn map_iteration_succeeded_event_details(
self,
input: MapIterationEventDetails
) -> Self
pub fn map_iteration_succeeded_event_details(
self,
input: MapIterationEventDetails
) -> Self
Contains details about an iteration of a Map state that succeeded.
sourcepub fn set_map_iteration_succeeded_event_details(
self,
input: Option<MapIterationEventDetails>
) -> Self
pub fn set_map_iteration_succeeded_event_details(
self,
input: Option<MapIterationEventDetails>
) -> Self
Contains details about an iteration of a Map state that succeeded.
sourcepub fn map_iteration_failed_event_details(
self,
input: MapIterationEventDetails
) -> Self
pub fn map_iteration_failed_event_details(
self,
input: MapIterationEventDetails
) -> Self
Contains details about an iteration of a Map state that failed.
sourcepub fn set_map_iteration_failed_event_details(
self,
input: Option<MapIterationEventDetails>
) -> Self
pub fn set_map_iteration_failed_event_details(
self,
input: Option<MapIterationEventDetails>
) -> Self
Contains details about an iteration of a Map state that failed.
sourcepub fn map_iteration_aborted_event_details(
self,
input: MapIterationEventDetails
) -> Self
pub fn map_iteration_aborted_event_details(
self,
input: MapIterationEventDetails
) -> Self
Contains details about an iteration of a Map state that was aborted.
sourcepub fn set_map_iteration_aborted_event_details(
self,
input: Option<MapIterationEventDetails>
) -> Self
pub fn set_map_iteration_aborted_event_details(
self,
input: Option<MapIterationEventDetails>
) -> Self
Contains details about an iteration of a Map state that was aborted.
sourcepub fn lambda_function_failed_event_details(
self,
input: LambdaFunctionFailedEventDetails
) -> Self
pub fn lambda_function_failed_event_details(
self,
input: LambdaFunctionFailedEventDetails
) -> Self
Contains details about a lambda function that failed during an execution.
sourcepub fn set_lambda_function_failed_event_details(
self,
input: Option<LambdaFunctionFailedEventDetails>
) -> Self
pub fn set_lambda_function_failed_event_details(
self,
input: Option<LambdaFunctionFailedEventDetails>
) -> Self
Contains details about a lambda function that failed during an execution.
sourcepub fn lambda_function_schedule_failed_event_details(
self,
input: LambdaFunctionScheduleFailedEventDetails
) -> Self
pub fn lambda_function_schedule_failed_event_details(
self,
input: LambdaFunctionScheduleFailedEventDetails
) -> Self
Contains details about a failed lambda function schedule event that occurred during an execution.
sourcepub fn set_lambda_function_schedule_failed_event_details(
self,
input: Option<LambdaFunctionScheduleFailedEventDetails>
) -> Self
pub fn set_lambda_function_schedule_failed_event_details(
self,
input: Option<LambdaFunctionScheduleFailedEventDetails>
) -> Self
Contains details about a failed lambda function schedule event that occurred during an execution.
sourcepub fn lambda_function_scheduled_event_details(
self,
input: LambdaFunctionScheduledEventDetails
) -> Self
pub fn lambda_function_scheduled_event_details(
self,
input: LambdaFunctionScheduledEventDetails
) -> Self
Contains details about a lambda function scheduled during an execution.
sourcepub fn set_lambda_function_scheduled_event_details(
self,
input: Option<LambdaFunctionScheduledEventDetails>
) -> Self
pub fn set_lambda_function_scheduled_event_details(
self,
input: Option<LambdaFunctionScheduledEventDetails>
) -> Self
Contains details about a lambda function scheduled during an execution.
sourcepub fn lambda_function_start_failed_event_details(
self,
input: LambdaFunctionStartFailedEventDetails
) -> Self
pub fn lambda_function_start_failed_event_details(
self,
input: LambdaFunctionStartFailedEventDetails
) -> Self
Contains details about a lambda function that failed to start during an execution.
sourcepub fn set_lambda_function_start_failed_event_details(
self,
input: Option<LambdaFunctionStartFailedEventDetails>
) -> Self
pub fn set_lambda_function_start_failed_event_details(
self,
input: Option<LambdaFunctionStartFailedEventDetails>
) -> Self
Contains details about a lambda function that failed to start during an execution.
sourcepub fn lambda_function_succeeded_event_details(
self,
input: LambdaFunctionSucceededEventDetails
) -> Self
pub fn lambda_function_succeeded_event_details(
self,
input: LambdaFunctionSucceededEventDetails
) -> Self
Contains details about a lambda function that terminated successfully during an execution.
sourcepub fn set_lambda_function_succeeded_event_details(
self,
input: Option<LambdaFunctionSucceededEventDetails>
) -> Self
pub fn set_lambda_function_succeeded_event_details(
self,
input: Option<LambdaFunctionSucceededEventDetails>
) -> Self
Contains details about a lambda function that terminated successfully during an execution.
sourcepub fn lambda_function_timed_out_event_details(
self,
input: LambdaFunctionTimedOutEventDetails
) -> Self
pub fn lambda_function_timed_out_event_details(
self,
input: LambdaFunctionTimedOutEventDetails
) -> Self
Contains details about a lambda function timeout that occurred during an execution.
sourcepub fn set_lambda_function_timed_out_event_details(
self,
input: Option<LambdaFunctionTimedOutEventDetails>
) -> Self
pub fn set_lambda_function_timed_out_event_details(
self,
input: Option<LambdaFunctionTimedOutEventDetails>
) -> Self
Contains details about a lambda function timeout that occurred during an execution.
sourcepub fn state_entered_event_details(
self,
input: StateEnteredEventDetails
) -> Self
pub fn state_entered_event_details(
self,
input: StateEnteredEventDetails
) -> Self
Contains details about a state entered during an execution.
sourcepub fn set_state_entered_event_details(
self,
input: Option<StateEnteredEventDetails>
) -> Self
pub fn set_state_entered_event_details(
self,
input: Option<StateEnteredEventDetails>
) -> Self
Contains details about a state entered during an execution.
sourcepub fn state_exited_event_details(self, input: StateExitedEventDetails) -> Self
pub fn state_exited_event_details(self, input: StateExitedEventDetails) -> Self
Contains details about an exit from a state during an execution.
sourcepub fn set_state_exited_event_details(
self,
input: Option<StateExitedEventDetails>
) -> Self
pub fn set_state_exited_event_details(
self,
input: Option<StateExitedEventDetails>
) -> Self
Contains details about an exit from a state during an execution.
sourcepub fn build(self) -> HistoryEvent
pub fn build(self) -> HistoryEvent
Consumes the builder and constructs a HistoryEvent
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more