Interface StatusDetails.Builder

  • Method Details

    • statusCode

      StatusDetails.Builder statusCode(String statusCodeValue)

      The status code that was returned. The status code is intended for programmatic error handling. Clean Rooms ML will not change the status code for existing error conditions.

      Parameters:
      statusCodeValue - The status code that was returned. The status code is intended for programmatic error handling. Clean Rooms ML will not change the status code for existing error conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      StatusDetails.Builder message(String message)

      The error message that was returned. The message is intended for human consumption and can change at any time. Use the statusCode for programmatic error handling.

      Parameters:
      message - The error message that was returned. The message is intended for human consumption and can change at any time. Use the statusCode for programmatic error handling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.