Interface ErrorDetail.Builder

  • Method Details

    • errorMessage

      ErrorDetail.Builder errorMessage(String errorMessage)

      The message explaining the Amazon Q Business request error.

      Parameters:
      errorMessage - The message explaining the Amazon Q Business request error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      ErrorDetail.Builder errorCode(String errorCode)

      The code associated with the Amazon Q Business request error.

      Parameters:
      errorCode - The code associated with the Amazon Q Business request error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      ErrorDetail.Builder errorCode(ErrorCode errorCode)

      The code associated with the Amazon Q Business request error.

      Parameters:
      errorCode - The code associated with the Amazon Q Business request error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: