Interface UnprocessedPreparedStatementName.Builder

  • Method Details

    • statementName

      UnprocessedPreparedStatementName.Builder statementName(String statementName)

      The name of a prepared statement that could not be returned due to an error.

      Parameters:
      statementName - The name of a prepared statement that could not be returned due to an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      The error code returned when the request for the prepared statement failed.

      Parameters:
      errorCode - The error code returned when the request for the prepared statement failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:

      • INVALID_INPUT - The name of the prepared statement that was provided is not valid (for example, the name is too long).

      • STATEMENT_NOT_FOUND - A prepared statement with the name provided could not be found.

      • UNAUTHORIZED - The requester does not have permission to access the workgroup that contains the prepared statement.

      Parameters:
      errorMessage - The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:

      • INVALID_INPUT - The name of the prepared statement that was provided is not valid (for example, the name is too long).

      • STATEMENT_NOT_FOUND - A prepared statement with the name provided could not be found.

      • UNAUTHORIZED - The requester does not have permission to access the workgroup that contains the prepared statement.

      Returns:
      Returns a reference to this object so that method calls can be chained together.