code: def build(self) -> Response:
      if self.status == Status.error:
          return ErrorResponse(self.message)
      elif self.status == Status.success:
          return SuccessResponse(self.message, self.level, self.answers)
      elif self.status == Status.ambiguous:
          return AmbiguousResponse(
              self.message, self.level, self.ambiguous_features
          )
      else:
          raise ValueError("Unknown status: " + str(self.status))
  
imports: import enum
  from typing import List, Optional, Dict, Union
  from .geometry import GeometryBase, GeoPoint, GeoRect, Polygon, Multipolygon
  from .request import LevelKind
  from ..type_assertion import assert_list_type, assert_optional_type, assert_type, assert_optional_list_type
label_desc: Use image node_id 8 for calling the ResponseBuilder obj's underlying member method code with example usage: obj.build() and returns: ErrorResponse, SuccessResponse, AmbiguousResponse