Interface OperationFailureDetails.Builder

  • Method Details

    • rollbackOperationId

      OperationFailureDetails.Builder rollbackOperationId(String rollbackOperationId)

      The rollback operation ID of the system-rollback operation that executed due to failure in the current operation.

      Parameters:
      rollbackOperationId - The rollback operation ID of the system-rollback operation that executed due to failure in the current operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      Sets the value of the ErrorInfo property for this object.
      Parameters:
      errorInfo - The new value for the ErrorInfo property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      Sets the value of the ErrorInfo property for this object. This is a convenience method that creates an instance of the ErrorInfo.Builder avoiding the need to create one manually via ErrorInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errorInfo(ErrorInfo).

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