Interface DistributionFailureContext.Builder

  • Method Details

    • errorMessage

      DistributionFailureContext.Builder errorMessage(String errorMessage)

      The error message for the distribution failure.

      Parameters:
      errorMessage - The error message for the distribution failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regionFailures

      The details about the failure for each Region where the image didn't finish distribution or configuration.

      Parameters:
      regionFailures - The details about the failure for each Region where the image didn't finish distribution or configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regionFailures

      DistributionFailureContext.Builder regionFailures(RegionFailure... regionFailures)

      The details about the failure for each Region where the image didn't finish distribution or configuration.

      Parameters:
      regionFailures - The details about the failure for each Region where the image didn't finish distribution or configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regionFailures

      The details about the failure for each Region where the image didn't finish distribution or configuration.

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

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

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