Interface CreateRouteResponseResponse.Builder

    • Method Detail

      • modelSelectionExpression

        CreateRouteResponseResponse.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

        CreateRouteResponseResponse.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

        CreateRouteResponseResponse.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

        CreateRouteResponseResponse.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

        CreateRouteResponseResponse.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.