Interface FailureConditions.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FailureConditions.Builder,FailureConditions>, SdkBuilder<FailureConditions.Builder,FailureConditions>, SdkPojo
Enclosing class:
FailureConditions

public static interface FailureConditions.Builder extends SdkPojo, CopyableBuilder<FailureConditions.Builder,FailureConditions>
  • Method Details

    • result

      The specified result for when the failure conditions are met, such as rolling back the stage.

      Parameters:
      result - The specified result for when the failure conditions are met, such as rolling back the stage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • result

      The specified result for when the failure conditions are met, such as rolling back the stage.

      Parameters:
      result - The specified result for when the failure conditions are met, such as rolling back the stage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • conditions

      The conditions that are configured as failure conditions.

      Parameters:
      conditions - The conditions that are configured as failure conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      FailureConditions.Builder conditions(Condition... conditions)

      The conditions that are configured as failure conditions.

      Parameters:
      conditions - The conditions that are configured as failure conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      The conditions that are configured as failure conditions.

      This is a convenience method that creates an instance of the Condition.Builder avoiding the need to create one manually via Condition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to conditions(List<Condition>).

      Parameters:
      conditions - a consumer that will call methods on Condition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: