JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.apigatewayv2.model

Class RouteResponse

    • Constructor Detail

      • RouteResponse

        public RouteResponse()
    • Method Detail

      • setModelSelectionExpression

        public void setModelSelectionExpression(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.
      • getModelSelectionExpression

        public String getModelSelectionExpression()

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

        Returns:
        Represents the model selection expression of a route response. Supported only for WebSocket APIs.
      • withModelSelectionExpression

        public RouteResponse withModelSelectionExpression(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.
      • getResponseModels

        public Map<String,String> getResponseModels()

        Represents the response models of a route response.

        Returns:
        Represents the response models of a route response.
      • setResponseModels

        public void setResponseModels(Map<String,String> responseModels)

        Represents the response models of a route response.

        Parameters:
        responseModels - Represents the response models of a route response.
      • withResponseModels

        public RouteResponse withResponseModels(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.
      • clearResponseModelsEntries

        public RouteResponse clearResponseModelsEntries()
        Removes all the entries added into ResponseModels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getResponseParameters

        public Map<String,ParameterConstraints> getResponseParameters()

        Represents the response parameters of a route response.

        Returns:
        Represents the response parameters of a route response.
      • setResponseParameters

        public void setResponseParameters(Map<String,ParameterConstraints> responseParameters)

        Represents the response parameters of a route response.

        Parameters:
        responseParameters - Represents the response parameters of a route response.
      • withResponseParameters

        public RouteResponse withResponseParameters(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.
      • clearResponseParametersEntries

        public RouteResponse clearResponseParametersEntries()
        Removes all the entries added into ResponseParameters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRouteResponseId

        public void setRouteResponseId(String routeResponseId)

        Represents the identifier of a route response.

        Parameters:
        routeResponseId - Represents the identifier of a route response.
      • getRouteResponseId

        public String getRouteResponseId()

        Represents the identifier of a route response.

        Returns:
        Represents the identifier of a route response.
      • withRouteResponseId

        public RouteResponse withRouteResponseId(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.
      • setRouteResponseKey

        public void setRouteResponseKey(String routeResponseKey)

        Represents the route response key of a route response.

        Parameters:
        routeResponseKey - Represents the route response key of a route response.
      • getRouteResponseKey

        public String getRouteResponseKey()

        Represents the route response key of a route response.

        Returns:
        Represents the route response key of a route response.
      • withRouteResponseKey

        public RouteResponse withRouteResponseKey(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /