Interface RouteResponse.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RouteResponse.Builder,RouteResponse>, SdkBuilder<RouteResponse.Builder,RouteResponse>, SdkPojo
Enclosing class:
RouteResponse

public static interface RouteResponse.Builder extends SdkPojo, CopyableBuilder<RouteResponse.Builder,RouteResponse>
  • 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.