Interface CleanupStepMetadata.Builder

  • Method Details

    • cleanedSteps

      CleanupStepMetadata.Builder cleanedSteps(Collection<String> cleanedSteps)

      The names of upstream steps whose Amazon S3 output resources the Cleanup step deleted successfully.

      Parameters:
      cleanedSteps - The names of upstream steps whose Amazon S3 output resources the Cleanup step deleted successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cleanedSteps

      CleanupStepMetadata.Builder cleanedSteps(String... cleanedSteps)

      The names of upstream steps whose Amazon S3 output resources the Cleanup step deleted successfully.

      Parameters:
      cleanedSteps - The names of upstream steps whose Amazon S3 output resources the Cleanup step deleted successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedSteps

      The upstream steps whose Amazon S3 output resources the Cleanup step could not delete.

      Parameters:
      failedSteps - The upstream steps whose Amazon S3 output resources the Cleanup step could not delete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedSteps

      CleanupStepMetadata.Builder failedSteps(CleanupFailure... failedSteps)

      The upstream steps whose Amazon S3 output resources the Cleanup step could not delete.

      Parameters:
      failedSteps - The upstream steps whose Amazon S3 output resources the Cleanup step could not delete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedSteps

      The upstream steps whose Amazon S3 output resources the Cleanup step could not delete.

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

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

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

      CleanupStepMetadata.Builder skippedSteps(Collection<String> skippedSteps)

      The names of upstream steps that the Cleanup step skipped. The Cleanup step skips a step when the output properties needed to locate its resources are unavailable.

      Parameters:
      skippedSteps - The names of upstream steps that the Cleanup step skipped. The Cleanup step skips a step when the output properties needed to locate its resources are unavailable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • skippedSteps

      CleanupStepMetadata.Builder skippedSteps(String... skippedSteps)

      The names of upstream steps that the Cleanup step skipped. The Cleanup step skips a step when the output properties needed to locate its resources are unavailable.

      Parameters:
      skippedSteps - The names of upstream steps that the Cleanup step skipped. The Cleanup step skips a step when the output properties needed to locate its resources are unavailable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.