Interface Cancellation.Builder

  • Method Details

    • status

      Cancellation.Builder status(String status)

      The current status of the cancellation. Valid values are InProgress, Failed, and Successful.

      Parameters:
      status - The current status of the cancellation. Valid values are InProgress, Failed, and Successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the cancellation. Valid values are InProgress, Failed, and Successful.

      Parameters:
      status - The current status of the cancellation. Valid values are InProgress, Failed, and Successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reason

      Cancellation.Builder reason(String reason)

      A message providing additional details about the cancellation, such as the reason for the cancellation or failure details.

      Parameters:
      reason - A message providing additional details about the cancellation, such as the reason for the cancellation or failure details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.