#[non_exhaustive]
pub struct Builder { /* private fields */ }
Expand description

A builder for StepExecution

Implementations

The name of this execution step.

The name of this execution step.

The action this step performs. The action determines the behavior of the step.

The action this step performs. The action determines the behavior of the step.

The timeout seconds of the step.

The timeout seconds of the step.

The action to take if the step fails. The default value is Abort.

The action to take if the step fails. The default value is Abort.

The maximum number of tries to run the action of the step. The default value is 1.

The maximum number of tries to run the action of the step. The default value is 1.

If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field isn't populated.

If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field isn't populated.

If a step has finished execution, this contains the time the execution ended. If the step hasn't yet concluded, this field isn't populated.

If a step has finished execution, this contains the time the execution ended. If the step hasn't yet concluded, this field isn't populated.

The execution status for this step.

The execution status for this step.

The response code returned by the execution of the step.

The response code returned by the execution of the step.

Adds a key-value pair to inputs.

To override the contents of this collection use set_inputs.

Fully-resolved values passed into the step before execution.

Fully-resolved values passed into the step before execution.

Adds a key-value pair to outputs.

To override the contents of this collection use set_outputs.

Returned values from the execution of the step.

Returned values from the execution of the step.

A message associated with the response code for an execution.

A message associated with the response code for an execution.

If a step failed, this message explains why the execution failed.

If a step failed, this message explains why the execution failed.

Information about the Automation failure.

Information about the Automation failure.

The unique ID of a step execution.

The unique ID of a step execution.

Adds a key-value pair to overridden_parameters.

To override the contents of this collection use set_overridden_parameters.

A user-specified list of parameters to override when running a step.

A user-specified list of parameters to override when running a step.

The flag which can be used to end automation no matter whether the step succeeds or fails.

The flag which can be used to end automation no matter whether the step succeeds or fails.

The next step after the step succeeds.

The next step after the step succeeds.

The flag which can be used to help decide whether the failure of current step leads to the Automation failure.

The flag which can be used to help decide whether the failure of current step leads to the Automation failure.

Appends an item to valid_next_steps.

To override the contents of this collection use set_valid_next_steps.

Strategies used when step fails, we support Continue and Abort. Abort will fail the automation when the step fails. Continue will ignore the failure of current step and allow automation to run the next step. With conditional branching, we add step:stepName to support the automation to go to another specific step.

Strategies used when step fails, we support Continue and Abort. Abort will fail the automation when the step fails. Continue will ignore the failure of current step and allow automation to run the next step. With conditional branching, we add step:stepName to support the automation to go to another specific step.

Appends an item to targets.

To override the contents of this collection use set_targets.

The targets for the step execution.

The targets for the step execution.

The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation execution.

The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation execution.

Consumes the builder and constructs a StepExecution

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more