Interface RouteResponse.Builder

  • Method Details

    • modelSelectionExpression

      RouteResponse.Builder modelSelectionExpression(String modelSelectionExpression)

      Represents the model selection expression of a route response. Supported only for WebSocket APIs.

      Parameters:
      modelSelectionExpression - Represents the model selection expression of a route response. Supported only for WebSocket APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseModels

      RouteResponse.Builder responseModels(Map<String,String> responseModels)

      Represents the response models of a route response.

      Parameters:
      responseModels - Represents the response models of a route response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseParameters

      RouteResponse.Builder responseParameters(Map<String,ParameterConstraints> responseParameters)

      Represents the response parameters of a route response.

      Parameters:
      responseParameters - Represents the response parameters of a route response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeResponseId

      RouteResponse.Builder routeResponseId(String routeResponseId)

      Represents the identifier of a route response.

      Parameters:
      routeResponseId - Represents the identifier of a route response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeResponseKey

      RouteResponse.Builder routeResponseKey(String routeResponseKey)

      Represents the route response key of a route response.

      Parameters:
      routeResponseKey - Represents the route response key of a route response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.